|
MediaWiki
REL1_23
|
Implements Special:Prefixindex. More...


Public Member Functions | |
| __construct () | |
| execute ($par) | |
| Entry point : initialise variables and call subfunctions. | |
Protected Member Functions | |
| getGroupName () | |
| Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. | |
| namespacePrefixForm ($namespace=NS_MAIN, $from= '') | |
| HTML for the top form. | |
| showPrefixChunk ($namespace=NS_MAIN, $prefix, $from=null) | |
Protected Attributes | |
| $columns = 3 | |
| $hideRedirects = false | |
| $stripPrefix = false | |
| Whether to remove the searched prefix from the displayed link. | |
Implements Special:Prefixindex.
Definition at line 29 of file SpecialPrefixindex.php.
Definition at line 44 of file SpecialPrefixindex.php.
| SpecialPrefixindex::execute | ( | $ | par | ) |
Entry point : initialise variables and call subfunctions.
| string | $par | becomes "FOO" when called like Special:Prefixindex/FOO (default null) |
Reimplemented from SpecialAllpages.
Definition at line 52 of file SpecialPrefixindex.php.
References $namespaces, $out, $wgContLang, columns, SpecialPage\getOutput(), SpecialPage\getRequest(), global, SpecialPage\including(), SpecialPage\msg(), namespacePrefixForm(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), and showPrefixChunk().
| SpecialPrefixindex::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialAllpages.
Definition at line 304 of file SpecialPrefixindex.php.
| SpecialPrefixindex::namespacePrefixForm | ( | $ | namespace = NS_MAIN, |
| $ | from = '' |
||
| ) | [protected] |
HTML for the top form.
| $namespace | Integer: a namespace constant (default NS_MAIN). | |
| string | $from | dbKey we are starting listing at. |
Definition at line 103 of file SpecialPrefixindex.php.
References $out, array(), Xml\checkLabel(), Xml\closeElement(), Xml\element(), SpecialPage\getPageTitle(), global, Html\hidden(), Xml\input(), label, SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), Xml\submitButton(), and text.
Referenced by execute(), and showPrefixChunk().
| SpecialPrefixindex::showPrefixChunk | ( | $ | namespace = NS_MAIN, |
| $ | prefix, | ||
| $ | from = null |
||
| ) | [protected] |
| $namespace | Integer, default NS_MAIN | |
| $prefix | String | |
| string | $from | list all pages from this name (default FALSE) |
Definition at line 160 of file SpecialPrefixindex.php.
References $conds, $dbr, $link, $n, $namespaces, $out, $query, $res, $s, $self, $t, $wgContLang, array(), Xml\closeElement(), columns, Html\element(), SpecialAllpages\getNamespaceKeyAndText(), SpecialPage\getOutput(), SpecialPage\getPageTitle(), global, SpecialPage\including(), Linker\linkKnown(), list, Title\makeTitle(), SpecialPage\msg(), namespacePrefixForm(), Xml\openElement(), Html\rawElement(), and wfGetDB().
Referenced by execute().
SpecialPrefixindex::$columns = 3 [protected] |
Definition at line 40 of file SpecialPrefixindex.php.
SpecialPrefixindex::$hideRedirects = false [protected] |
Definition at line 37 of file SpecialPrefixindex.php.
SpecialPrefixindex::$stripPrefix = false [protected] |
Whether to remove the searched prefix from the displayed link.
Useful for inclusion of a set of sub pages in a root page.
Definition at line 35 of file SpecialPrefixindex.php.