Inherits IncludableSpecialPage.
Inherited by SpecialPrefixindex.
Public Member Functions | |
__construct ($name= 'Allpages') | |
execute ($par) | |
Entry point : initialise variables and call subfunctions. | |
namespaceForm ($namespace=NS_MAIN, $from= '', $to= '') | |
HTML for the top form. | |
showToplevel ($namespace=NS_MAIN, $from= '', $to= '') | |
showline ($inpoint, $outpoint, $namespace=NS_MAIN) | |
Show a line of "ABC to DEF" ranges of articles. | |
showChunk ($namespace=NS_MAIN, $from=false, $to=false) | |
Static Public Member Functions | |
getNamespaceKeyAndText ($ns, $text) | |
Protected Attributes | |
$maxPerPage = 345 | |
Maximum number of pages to show on single subpage. | |
$maxLineCount = 200 | |
Maximum number of pages to show on single index subpage. | |
$maxPageLength = 70 | |
Maximum number of chars to show for an entry. | |
$nsfromMsg = 'allpagesfrom' | |
Determines, which message describes the input field 'nsfrom'. |
Definition at line 7 of file SpecialAllpages.php.
SpecialAllpages::__construct | ( | $ | name = 'Allpages' |
) |
SpecialAllpages::execute | ( | $ | par | ) |
Entry point : initialise variables and call subfunctions.
$par | String: becomes "FOO" when called like Special:Allpages/FOO (default NULL) | |
$specialPage | See the SpecialPage object. |
Reimplemented from SpecialPage.
Reimplemented in SpecialPrefixindex.
Definition at line 38 of file SpecialAllpages.php.
References $wgContLang, $wgOut, $wgRequest, SpecialPage::outputHeader(), SpecialPage::setHeaders(), showChunk(), showToplevel(), and wfMsg().
SpecialAllpages::getNamespaceKeyAndText | ( | $ | ns, | |
$ | text | |||
) | [static] |
int | $ns the namespace of the article | |
string | $text the name of the article |
Definition at line 425 of file SpecialAllpages.php.
References $ns, $t, $text, and Title::makeTitleSafe().
Referenced by showChunk(), and SpecialPrefixindex::showPrefixChunk().
SpecialAllpages::namespaceForm | ( | $ | namespace = NS_MAIN , |
|
$ | from = '' , |
|||
$ | to = '' | |||
) |
HTML for the top form.
integer | $namespace A namespace constant (default NS_MAIN). | |
string | $from dbKey we are starting listing at. | |
string | $to dbKey we are ending listing at. |
Definition at line 71 of file SpecialAllpages.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 showChunk(), and showToplevel().
SpecialAllpages::showChunk | ( | $ | namespace = NS_MAIN , |
|
$ | from = false , |
|||
$ | to = false | |||
) |
integer | $namespace (Default NS_MAIN) | |
string | $from list all pages from this name (default FALSE) | |
string | $to list all pages to this name (default FALSE) |
Definition at line 259 of file SpecialAllpages.php.
References $conds, $dbr, $n, $options, $out, $res, $s, $self, $t, $wgContLang, $wgLang, $wgOut, $wgUser, getNamespaceKeyAndText(), SpecialPage::getTitle(), SpecialPage::including(), Title::makeTitle(), namespaceForm(), wfGetDB(), wfMsgExt(), wfMsgHtml(), and wfMsgWikiHtml().
Referenced by execute(), and showToplevel().
SpecialAllpages::showline | ( | $ | inpoint, | |
$ | outpoint, | |||
$ | namespace = NS_MAIN | |||
) |
Show a line of "ABC to DEF" ranges of articles.
string | $inpoint Lower limit of pagenames | |
string | $outpout Upper limit of pagenames | |
integer | $namespace (Default NS_MAIN) |
Definition at line 234 of file SpecialAllpages.php.
References $out, $wgContLang, SpecialPage::getTitle(), and wfMsgHtml().
Referenced by showToplevel().
SpecialAllpages::showToplevel | ( | $ | namespace = NS_MAIN , |
|
$ | from = '' , |
|||
$ | to = '' | |||
) |
integer | $namespace (default NS_MAIN) |
Definition at line 116 of file SpecialAllpages.php.
References $count, $dbr, $key, $options, $out, $res, $s, $wgContLang, $wgMemc, $wgOut, $wgUser, SpecialPage::getTitle(), SpecialPage::including(), Title::makeTitleSafe(), namespaceForm(), showChunk(), showline(), wfGetDB(), wfMemcKey(), and wfMsgHtml().
Referenced by execute().
SpecialAllpages::$maxLineCount = 200 [protected] |
Maximum number of pages to show on single index subpage.
Definition at line 17 of file SpecialAllpages.php.
SpecialAllpages::$maxPageLength = 70 [protected] |
SpecialAllpages::$maxPerPage = 345 [protected] |
Maximum number of pages to show on single subpage.
Definition at line 12 of file SpecialAllpages.php.
SpecialAllpages::$nsfromMsg = 'allpagesfrom' [protected] |
Determines, which message describes the input field 'nsfrom'.
Definition at line 27 of file SpecialAllpages.php.