Update callers to conform with OOUI

Bug: T156112
Bug: T156949
Bug: T156314
Change-Id: I7cbd0f0ac799a2a29ac0bfb3559944771d7380d6
This commit is contained in:
Amir Sarabadani 2017-02-10 19:41:10 +03:30 committed by Addshore
parent 1d1ac3474e
commit a453dc3389

View file

@ -23,7 +23,7 @@ class SpecialNuke extends SpecialPage {
}
$req = $this->getRequest();
$target = trim( $req->getText( 'nuke-target', $par ) );
$target = trim( $req->getText( 'wpnuke-target', $par ) );
// Normalise name
if ( $target !== '' ) {
@ -39,8 +39,8 @@ class SpecialNuke extends SpecialPage {
inContentLanguage()->text();
$reason = $req->getText( 'wpReason', $msg );
$limit = $req->getInt( 'limit', 500 );
$namespace = $req->getVal( 'namespace' );
$limit = $req->getInt( 'wplimit', 500 );
$namespace = $req->getVal( 'wpnamespace' );
$namespace = ctype_digit( $namespace ) ? (int)$namespace : null;
if ( $req->wasPosted()