mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-30 19:14:43 +00:00
Update callers to conform with OOUI
Bug: T156112 Bug: T156949 Bug: T156314 Change-Id: I7cbd0f0ac799a2a29ac0bfb3559944771d7380d6
This commit is contained in:
parent
1d1ac3474e
commit
a453dc3389
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue