列出所有具有自定义标题而不是规范标题的子页面

时间:2020-04-12 15:18:37

标签: mediawiki

我正在尝试显示页面的所有子页面。假设我的页面看起来像这样(只是一个例子,不是我的真实数据):

-devices
  ↳ apple
    ↳ iPhone
    ↳ iPad
  ↳ samsung
    ↳ Galaxy

iPhone页面的标题设置为iPhone: the apple phone,URL看起来像这样devices/apple/iPhone

如何在devices页上列出所有子页,但不使用规范标题。现在我正在使用

{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}

它返回

apple/iPhone
apple/iPad
samsung
samsung/galaxy

如何使它返回

iPhone: the apple phone
apple/iPad
samsung
samsung/galaxy

感谢您的帮助

1 个答案:

答案 0 :(得分:0)

Display Title扩展名可以做到这一点。