Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSpecialPages and the translation is 47% complete.

Other languages:
English • ‎日本語 • ‎polski • ‎português do Brasil • ‎русский
Extensions: $wgSpecialPages
導入されたバージョン: 1.7.0 (r15031)
除去されたバージョン: 使用中
可能な値: 下記参照
既定値: array()
他の設定: アルファベット順 | 機能順


$wgSpecialPages stores a list of custom special pages defined for a MediaWiki installation. The array is keyed by a non-localized id for the special page. The values assigned to each key may take one of the following forms:

  • 文字列: a string containing the name of a subclass of SpecialPageManual:SpecialPage.php.
  • 配列: an array where the first element is the name of the subclass and all remaining elements are parameters that should be passed to the constructor of that subclass.
  • コールバック: (since MW 1.24, Gerrit change 152755) expected to return a SpecialPage instance. Useful for full control over the special page's construction parameters.

For more information, please see SpecialPage.php