Public Member Functions | |
| showList ($msg= '') | |
| formatRow ($row) | |
| Callback function to output a restriction. | |
Protected Member Functions | |
| showOptions ($namespace, $type='edit', $level, $sizetype, $size, $indefOnly, $cascadeOnly) | |
| getNamespaceMenu ($namespace=null) | |
| Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace. | |
| getExpiryCheck ($indefOnly) | |
| getCascadeCheck ($cascadeOnly) | |
| getSizeLimit ($sizetype, $size) | |
| getTypeMenu ($pr_type) | |
| getLevelMenu ($pr_level) | |
Protected Attributes | |
| $IdLevel = 'level' | |
| $IdType = 'type' | |
Definition at line 11 of file SpecialProtectedpages.php.
| ProtectedPagesForm::formatRow | ( | $ | row | ) |
Callback function to output a restriction.
| $row | object Protected title |
Definition at line 57 of file SpecialProtectedpages.php.
References $row, $size, $title, $wgContLang, $wgLang, $wgUser, Block::decodeExpiry(), SpecialPage::getTitleFor(), Title::makeTitleSafe(), wfMsg(), wfMsgHtml(), wfProfileIn(), wfProfileOut(), and wfSpecialList().
| ProtectedPagesForm::getCascadeCheck | ( | $ | cascadeOnly | ) | [protected] |
Definition at line 166 of file SpecialProtectedpages.php.
References Xml::checkLabel(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::getExpiryCheck | ( | $ | indefOnly | ) | [protected] |
Definition at line 158 of file SpecialProtectedpages.php.
References Xml::checkLabel(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::getLevelMenu | ( | $ | pr_level | ) | [protected] |
Definition at line 218 of file SpecialProtectedpages.php.
References $options, $text, $type, $wgRestrictionLevels, Xml::label(), Xml::option(), Xml::tags(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::getNamespaceMenu | ( | $ | namespace = null |
) | [protected] |
Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace.
| mixed | $namespace Pre-select namespace |
Definition at line 149 of file SpecialProtectedpages.php.
References Xml::label(), Xml::namespaceSelector(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::getSizeLimit | ( | $ | sizetype, | |
| $ | size | |||
| ) | [protected] |
Definition at line 174 of file SpecialProtectedpages.php.
References $size, Xml::input(), Xml::label(), Xml::radioLabel(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::getTypeMenu | ( | $ | pr_type | ) | [protected] |
Definition at line 190 of file SpecialProtectedpages.php.
References $options, $text, $type, $wgRestrictionTypes, Xml::label(), Xml::option(), Xml::tags(), and wfMsg().
Referenced by showOptions().
| ProtectedPagesForm::showList | ( | $ | msg = '' |
) |
Definition at line 16 of file SpecialProtectedpages.php.
References $msg, $s, $size, $type, $wgOut, $wgRequest, Title::purgeExpiredRestrictions(), showOptions(), and wfMsgHtml().
| ProtectedPagesForm::showOptions | ( | $ | namespace, | |
| $ | type = 'edit', |
|||
| $ | level, | |||
| $ | sizetype, | |||
| $ | size, | |||
| $ | indefOnly, | |||
| $ | cascadeOnly | |||
| ) | [protected] |
| $namespace | int | |
| $type | string | |
| $level | string | |
| $minsize | int | |
| $indefOnly | bool | |
| $cascadeOnly | bool |
Definition at line 121 of file SpecialProtectedpages.php.
References $size, $title, $type, $wgScript, Xml::closeElement(), Xml::element(), getCascadeCheck(), getExpiryCheck(), getLevelMenu(), getNamespaceMenu(), getSizeLimit(), SpecialPage::getTitleFor(), getTypeMenu(), Xml::hidden(), Xml::openElement(), Xml::submitButton(), and wfMsg().
Referenced by showList().
ProtectedPagesForm::$IdLevel = 'level' [protected] |
Definition at line 13 of file SpecialProtectedpages.php.
ProtectedPagesForm::$IdType = 'type' [protected] |
Definition at line 14 of file SpecialProtectedpages.php.
1.5.9