Inherits SpecialAllpages.
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) |
Definition at line 7 of file SpecialPrefixindex.php.
SpecialPrefixindex::__construct | ( | ) |
Definition at line 10 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 18 of file SpecialPrefixindex.php.
References $prefix, $wgContLang, $wgOut, $wgRequest, namespacePrefixForm(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), showPrefixChunk(), and wfMsg().
SpecialPrefixindex::namespacePrefixForm | ( | $ | namespace = NS_MAIN , |
|
$ | from = '' | |||
) |
HTML for the top form.
integer | $namespace A namespace constant (default NS_MAIN). | |
string | $from dbKey we are starting listing at. |
Definition at line 51 of file SpecialPrefixindex.php.
References $out, $t, $wgScript, Xml::closeElement(), Xml::element(), SpecialPage::getTitle(), Xml::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 | |||
) |
integer | $namespace (Default NS_MAIN) | |
string | $from list all pages from this name (default FALSE) |
Definition at line 89 of file SpecialPrefixindex.php.
References $dbr, $n, $out, $prefix, $res, $s, $self, $t, $wgContLang, $wgLang, $wgOut, $wgUser, Xml::closeElement(), SpecialAllpages::getNamespaceKeyAndText(), SpecialPage::getTitle(), SpecialPage::including(), Title::makeTitle(), namespacePrefixForm(), Xml::openElement(), wfGetDB(), wfMsg(), wfMsgExt(), wfMsgHtml(), and wfMsgWikiHtml().
Referenced by execute().