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


Public Member Functions | |
| __construct () | |
| execute ($par) | |
| Entry point : initialise variables and call subfunctions. | |
| namespacePrefixForm ($namespace=NS_MAIN, $from= '') | |
| HTML for the top form. | |
| showPrefixChunk ($namespace=NS_MAIN, $prefix, $from=null) | |
Implements Special:Prefixindex.
Definition at line 29 of file SpecialPrefixindex.php.
Definition at line 32 of file SpecialPrefixindex.php.
| SpecialPrefixindex::execute | ( | $ | par | ) |
Entry point : initialise variables and call subfunctions.
| $par | String: becomes "FOO" when called like Special:Prefixindex/FOO (default null) |
Reimplemented from SpecialAllpages.
Definition at line 40 of file SpecialPrefixindex.php.
References $out, $wgContLang, SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\including(), SpecialPage\msg(), namespacePrefixForm(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), and showPrefixChunk().

| SpecialPrefixindex::namespacePrefixForm | ( | $ | namespace = NS_MAIN, |
| $ | from = '' |
||
| ) |
HTML for the top form.
| $namespace | Integer: a namespace constant (default NS_MAIN). |
| $from | String: dbKey we are starting listing at. |
Definition at line 87 of file SpecialPrefixindex.php.
References $out, $wgScript, Xml\closeElement(), Xml\element(), SpecialPage\getTitle(), Html\hidden(), Xml\input(), Xml\label(), Xml\namespaceSelector(), Xml\openElement(), Xml\submitButton(), and wfMsg().
Referenced by execute(), and showPrefixChunk().


| SpecialPrefixindex::showPrefixChunk | ( | $ | namespace = NS_MAIN, |
| $ | prefix, | ||
| $ | from = null |
||
| ) |
| $namespace | Integer, default NS_MAIN |
| $prefix | String |
| $from | String: list all pages from this name (default FALSE) |
Definition at line 125 of file SpecialPrefixindex.php.
References $dbr, $n, $out, $res, $self, $t, $wgContLang, Xml\closeElement(), Html\element(), SpecialAllpages\getNamespaceKeyAndText(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\including(), Linker\linkKnown(), Title\makeTitle(), namespacePrefixForm(), Xml\openElement(), Html\rawElement(), wfGetDB(), wfMsgExt(), and wfMsgHtml().
Referenced by execute().

