检索定义子页面的子页面

Retrieve subpage of a define subpage

我有一个包含子页面的页面,它看起来像这样(只是一个例子,不是我的真实数据):

-page
  ↳ apple
    ↳ iPhone
    ↳ iPad
  ↳ samsung
    ↳ Galaxy

我想在根页面上检索 apple 的所有子页面。我找到了一种检索所有子页面的方法 {{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}} 但不是检索所有 apple.

的方法

预期的响应应该是

• Iphone
• Ipad

特殊页面 Special:Prefixtext 允许任何级别的前缀,因此它应该像以下一样简单: {{Special:PrefixIndex/{{FULLPAGENAME}}/apple/ |hideredirects=1 |stripprefix=1}}

(注意 /apple/ 作为子页面附加到 fullpagename 变量的部分)