Manual:$wgSpecialPages

From MediaWiki.org
Jump to: navigation, search
Extensions: $wgSpecialPages
A list of custom special pages.
Introduced in version: 1.7.0 (r15031)
Removed in version: still in use
Allowed values: (see below)
Default value: array()

Other settings: Alphabetical | By Function


Details[edit | edit source]

$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 two forms:

  • string: a string containing the name of a subclass of SpecialPage.
  • array: 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.

For more information, please see SpecialPage.php

Language: English  • português do Brasil • русский