Public Member Functions | |
showList ($msg= '') | |
formatRow ($row) | |
Callback function to output a restriction. | |
showOptions ($namespace, $type='edit', $level, $sizetype, $size) | |
getNamespaceMenu ($namespace=null) | |
Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace. | |
getLevelMenu ($pr_level) | |
Protected Attributes | |
$IdLevel = 'level' | |
$IdType = 'type' |
Definition at line 11 of file SpecialProtectedtitles.php.
ProtectedTitlesForm::formatRow | ( | $ | row | ) |
Callback function to output a restriction.
Definition at line 53 of file SpecialProtectedtitles.php.
References $row, $title, $wgContLang, $wgLang, $wgUser, Block::decodeExpiry(), Title::makeTitleSafe(), wfMsg(), wfMsgHtml(), wfProfileIn(), wfProfileOut(), and wfSpecialList().
ProtectedTitlesForm::getLevelMenu | ( | $ | pr_level | ) |
Definition at line 126 of file SpecialProtectedtitles.php.
References $options, $text, $type, $wgRestrictionLevels, Xml::label(), Xml::option(), Xml::tags(), and wfMsg().
Referenced by showOptions().
ProtectedTitlesForm::getNamespaceMenu | ( | $ | namespace = null |
) |
Prepare the namespace filter drop-down; standard namespace selector, sans the MediaWiki namespace.
mixed | $namespace Pre-select namespace |
Definition at line 116 of file SpecialProtectedtitles.php.
References Xml::label(), Xml::namespaceSelector(), and wfMsg().
Referenced by showOptions().
ProtectedTitlesForm::showList | ( | $ | msg = '' |
) |
Definition at line 16 of file SpecialProtectedtitles.php.
References $msg, $s, $size, $type, $wgOut, $wgRequest, Title::purgeExpiredRestrictions(), showOptions(), and wfMsgHtml().
ProtectedTitlesForm::showOptions | ( | $ | namespace, | |
$ | type = 'edit' , |
|||
$ | level, | |||
$ | sizetype, | |||
$ | size | |||
) |
$namespace | int | |
$type | string | |
$level | string | |
$minsize | int |
Definition at line 94 of file SpecialProtectedtitles.php.
References $action, $title, $wgScript, Xml::element(), getLevelMenu(), getNamespaceMenu(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::submitButton(), and wfMsg().
Referenced by showList().
ProtectedTitlesForm::$IdLevel = 'level' [protected] |
Definition at line 13 of file SpecialProtectedtitles.php.
ProtectedTitlesForm::$IdType = 'type' [protected] |
Definition at line 14 of file SpecialProtectedtitles.php.