$log = new LogPage( wfMsg( "protectlogpage" ), wfMsg( "protectlogtext" ) );
if ( $limit === "" ) {
- $log->addEntry( wfMsg( "unprotectedarticle", $wgTitle->getPrefixedText() ), "" );
+ $log->addEntry( wfMsg( "unprotectedarticle", $this->mTitle->getPrefixedText() ), "" );
} else {
- $log->addEntry( wfMsg( "protectedarticle", $wgTitle->getPrefixedText() ), "" );
+ $log->addEntry( wfMsg( "protectedarticle", $this->mTitle->getPrefixedText() ), "" );
}
$wgOut->redirect( wfLocalUrl( $this->mTitle->getPrefixedURL() ) );
}
$r1 .= "<label><input type=checkbox value=\"1\" name=\"" .
"wpNs$i\"{$checked}>{$name}</label>\n";
}
- $name = str_replace( "_", " ", $ns[$i] );
- if ( "" == $name ) { $name = wfMsg( "blanknamespace" ); }
-
- if ( 0 != $i ) { $r1 .= " "; }
- $r1 .= "<label><input type=checkbox value=\"1\" name=\"" .
- "wpNs{$i}\"{$checked}>{$name}</label>\n";
}
return $r1;