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

问题描述 投票:1回答:1

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

-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

感谢您的帮助

mediawiki
1个回答
0
投票

Display Title扩展名执行此操作。

© www.soinside.com 2019 - 2024. All rights reserved.