MediaWiki
REL1_19
|
Implements Special:Allpages. More...
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. | |
showChunk ($namespace=NS_MAIN, $from=false, $to=false) | |
showline ($inpoint, $outpoint, $namespace=NS_MAIN) | |
Show a line of "ABC to DEF" ranges of articles. | |
showToplevel ($namespace=NS_MAIN, $from= '', $to= '') | |
Protected Member Functions | |
getNamespaceKeyAndText ($ns, $text) | |
Protected Attributes | |
$maxLineCount = 100 | |
Maximum number of pages to show on single index subpage. | |
$maxPageLength = 70 | |
Maximum number of chars to show for an entry. | |
$maxPerPage = 345 | |
Maximum number of pages to show on single subpage. | |
$nsfromMsg = 'allpagesfrom' | |
Determines, which message describes the input field 'nsfrom'. |
Implements Special:Allpages.
Definition at line 29 of file SpecialAllpages.php.
SpecialAllpages::__construct | ( | $ | name = 'Allpages' | ) |
Definition at line 51 of file SpecialAllpages.php.
SpecialAllpages::execute | ( | $ | par | ) |
Entry point : initialise variables and call subfunctions.
$par | String: becomes "FOO" when called like Special:Allpages/FOO (default NULL) |
Reimplemented from SpecialPage.
Reimplemented in SpecialPrefixindex.
Definition at line 60 of file SpecialAllpages.php.
References $out, $wgContLang, SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\msg(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showChunk(), and showToplevel().
SpecialAllpages::getNamespaceKeyAndText | ( | $ | ns, |
$ | text | ||
) | [protected] |
$ns | Integer: the namespace of the article |
$text | String: the name of the article |
Definition at line 474 of file SpecialAllpages.php.
References $t, and Title\makeTitleSafe().
Referenced by showChunk(), and SpecialPrefixindex\showPrefixChunk().
SpecialAllpages::namespaceForm | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' |
||
) |
HTML for the top form.
$namespace | Integer: a namespace constant (default NS_MAIN). |
$from | String: dbKey we are starting listing at. |
$to | String: dbKey we are ending listing at. |
Definition at line 99 of file SpecialAllpages.php.
References $out, $t, $wgScript, Xml\closeElement(), Xml\element(), SpecialPage\getTitle(), Html\hidden(), Xml\input(), Xml\label(), SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), and Xml\submitButton().
Referenced by showChunk(), and showToplevel().
SpecialAllpages::showChunk | ( | $ | namespace = NS_MAIN , |
$ | from = false , |
||
$ | to = false |
||
) |
$namespace | Integer (Default NS_MAIN) |
$from | String: list all pages from this name (default FALSE) |
$to | String: list all pages to this name (default FALSE) |
Definition at line 298 of file SpecialAllpages.php.
References $dbr, $n, $options, $out, $output, $res, $self, $t, $wgContLang, Xml\closeElement(), Html\element(), SpecialPage\getLanguage(), getNamespaceKeyAndText(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\including(), Linker\link(), Linker\linkKnown(), Title\makeTitle(), SpecialPage\msg(), namespaceForm(), Title\newFromRow(), Xml\openElement(), Html\rawElement(), and wfGetDB().
Referenced by execute(), and showToplevel().
SpecialAllpages::showline | ( | $ | inpoint, |
$ | outpoint, | ||
$ | namespace = NS_MAIN |
||
) |
Show a line of "ABC to DEF" ranges of articles.
$inpoint | String: lower limit of pagenames |
$outpoint | String: upper limit of pagenames |
$namespace | Integer (Default NS_MAIN) |
Definition at line 274 of file SpecialAllpages.php.
References $out, $wgContLang, SpecialPage\getTitle(), and SpecialPage\msg().
Referenced by showToplevel().
SpecialAllpages::showToplevel | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' |
||
) |
$namespace | Integer (default NS_MAIN) |
$from | String: list all pages from this name |
$to | String: list all pages to this name |
Definition at line 149 of file SpecialAllpages.php.
References $count, $dbr, $lines, $options, $out, $output, $res, $wgMemc, Xml\closeElement(), false, SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\including(), Linker\link(), Title\makeTitleSafe(), SpecialPage\msg(), namespaceForm(), Xml\openElement(), showChunk(), showline(), wfGetDB(), and wfMemcKey().
Referenced by execute().
SpecialAllpages::$maxLineCount = 100 [protected] |
Maximum number of pages to show on single index subpage.
Definition at line 39 of file SpecialAllpages.php.
SpecialAllpages::$maxPageLength = 70 [protected] |
Maximum number of chars to show for an entry.
Definition at line 44 of file SpecialAllpages.php.
SpecialAllpages::$maxPerPage = 345 [protected] |
Maximum number of pages to show on single subpage.
Definition at line 34 of file SpecialAllpages.php.
SpecialAllpages::$nsfromMsg = 'allpagesfrom' [protected] |
Determines, which message describes the input field 'nsfrom'.
Definition at line 49 of file SpecialAllpages.php.