MediaWiki
REL1_22
|
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) | |
showline ($inpoint, $outpoint, $namespace=NS_MAIN, $hideRedirects=false) | |
Show a line of "ABC to DEF" ranges of articles. | |
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 | $maxLineCount = 100 |
Maximum number of pages to show on single index subpage. | |
int | $maxPageLength = 70 |
Maximum number of chars to show for an entry. | |
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 60 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 69 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 566 of file SpecialAllpages.php.
SpecialAllpages::getNamespaceKeyAndText | ( | $ | ns, |
$ | text | ||
) | [protected] |
$ns | Integer: the namespace of the article | |
string | $text | the name of the article |
Definition at line 543 of file SpecialAllpages.php.
Referenced by SpecialPrefixindex\showPrefixChunk().
SpecialAllpages::namespaceForm | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' , |
||
$ | hideredirects = false |
||
) |
HTML for the top form.
$namespace | Integer: 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 110 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 345 of file SpecialAllpages.php.
SpecialAllpages::showline | ( | $ | inpoint, |
$ | outpoint, | ||
$ | namespace = NS_MAIN , |
||
$ | hideRedirects = false |
||
) |
Show a line of "ABC to DEF" ranges of articles.
string | $inpoint | lower limit of pagenames |
string | $outpoint | upper limit of pagenames |
$namespace | Integer (Default NS_MAIN) | |
bool | $hideRedirects | don't show redirects. Default: false |
Definition at line 304 of file SpecialAllpages.php.
SpecialAllpages::showToplevel | ( | $ | namespace = NS_MAIN , |
$ | from = '' , |
||
$ | to = '' , |
||
$ | hideredirects = false |
||
) |
$namespace | Integer (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 168 of file SpecialAllpages.php.
int SpecialAllpages::$maxLineCount = 100 [protected] |
Maximum number of pages to show on single index subpage.
$maxLineCount
Definition at line 41 of file SpecialAllpages.php.
int SpecialAllpages::$maxPageLength = 70 [protected] |
Maximum number of chars to show for an entry.
$maxPageLength
Definition at line 47 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 53 of file SpecialAllpages.php.