$link = Linker::link( $title );
$description_items = array();
- // Give grep a chance to find the usages:
- // restriction-level-sysop, restriction-level-autoconfirmed
+ // Messages: restriction-level-sysop, restriction-level-autoconfirmed
$protType = $this->msg( 'restriction-level-' . $row->pt_create_perm )->escaped();
$description_items[] = $protType;
$lang = $this->getLanguage();
function showOptions( $namespace, $type = 'edit', $level ) {
global $wgScript;
$action = htmlspecialchars( $wgScript );
- $title = $this->getTitle();
+ $title = $this->getPageTitle();
$special = htmlspecialchars( $title->getPrefixedDBkey() );
return "<form action=\"$action\" method=\"get\">\n" .
// First pass to load the log names
foreach ( $wgRestrictionLevels as $type ) {
if ( $type != '' && $type != '*' ) {
- // Give grep a chance to find the usages:
- // restriction-level-sysop, restriction-level-autoconfirmed
+ // Messages: restriction-level-sysop, restriction-level-autoconfirmed
$text = $this->msg( "restriction-level-$type" )->text();
$m[$text] = $type;
}