MediaWiki
REL1_24
|
Implements Special:Allpages. More...
Public Member Functions | |
__construct ($name= 'Allpages') | |
Constructor. | |
execute ($par) | |
Entry point : initialise variables and call subfunctions. | |
namespaceForm ($namespace=NS_MAIN, $from= '', $to= '', $hideredirects=false) | |
HTML for the top form. | |
showChunk ($namespace=NS_MAIN, $from=false, $to=false, $hideredirects=false) | |
showToplevel ($namespace=NS_MAIN, $from= '', $to= '', $hideredirects=false) | |
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'. | |
getNamespaceKeyAndText ($ns, $text) | |
Protected Attributes | |
int | $maxPerPage = 345 |
Maximum number of pages to show on single subpage. | |
string | $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' | ) |
Constructor.
string | $name | Name of the special page, as seen in links and URLs (default: 'Allpages') |
Definition at line 48 of file SpecialAllPages.php.
SpecialAllPages::execute | ( | $ | par | ) |
Entry point : initialise variables and call subfunctions.
string | $par | Becomes "FOO" when called like Special:Allpages/FOO (default null) |
Reimplemented from SpecialPage.
Reimplemented in SpecialPrefixindex.
Definition at line 57 of file SpecialAllPages.php.
SpecialAllPages::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 SpecialPage.
Reimplemented in SpecialPrefixindex.
Definition at line 378 of file SpecialAllPages.php.
SpecialAllPages::getNamespaceKeyAndText | ( | $ | ns, |
$ | text | ||
) | [protected] |
int | $ns | The namespace of the article |
string | $text | The name of the article |
Definition at line 355 of file SpecialAllPages.php.
Referenced by SpecialPrefixindex\showPrefixChunk().
SpecialAllPages::namespaceForm | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' , |
||
$ | hideredirects = false |
||
) |
HTML for the top form.
int | $namespace | A namespace constant (default NS_MAIN). |
string | $from | DbKey we are starting listing at. |
string | $to | DbKey we are ending listing at. |
bool | $hideredirects | Dont show redirects (default false) |
Definition at line 98 of file SpecialAllPages.php.
SpecialAllPages::showChunk | ( | $ | namespace = NS_MAIN , |
$ | from = false , |
||
$ | to = false , |
||
$ | hideredirects = false |
||
) |
int | $namespace | Namespace (Default NS_MAIN) |
string | $from | List all pages from this name (default false) |
string | $to | List all pages to this name (default false) |
bool | $hideredirects | Dont show redirects (default false) |
Definition at line 170 of file SpecialAllPages.php.
SpecialAllPages::showToplevel | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' , |
||
$ | hideredirects = false |
||
) |
int | $namespace | (default NS_MAIN) |
string | $from | List all pages from this name |
string | $to | List all pages to this name |
bool | $hideredirects | Dont show redirects (default false) |
Definition at line 155 of file SpecialAllPages.php.
int SpecialAllPages::$maxPerPage = 345 [protected] |
Maximum number of pages to show on single subpage.
$maxPerPage
Definition at line 35 of file SpecialAllPages.php.
string SpecialAllPages::$nsfromMsg = 'allpagesfrom' [protected] |
Determines, which message describes the input field 'nsfrom'.
$nsfromMsg
Definition at line 41 of file SpecialAllPages.php.