Followup r98490, since the module names changed the variable names need changing as well

This commit is contained in:
John Du Hart 2011-09-30 00:05:08 +00:00
parent 3f06314486
commit 4926aeae24
Notes: Raimond Spekking 2012-03-12 20:46:25 +00:00
3 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ new ( function( $, mw ) {
* @param {Object} data Data returned from the AJAX request
*/
this.processSyntaxResult = function( data ) {
data = data.checkfiltersyntax;
data = data.abusefilterchecksyntax;
$.removeSpinner( 'abusefilter-syntaxcheck' );
$( '#mw-abusefilter-syntaxcheck' ).removeAttr("disabled");

View file

@ -68,7 +68,7 @@ new ( function( $, mw ) {
}
} else {
var exClass;
if ( data.checkfiltermatch.result ) {
if ( data.abusefiltercheckmatch.result ) {
exClass = 'mw-abusefilter-examine-match';
msg = 'abusefilter-examine-match';
} else {

View file

@ -31,7 +31,7 @@ new ( function( $, mw ) {
$.removeSpinner( 'abusefilter-expr' );
$( '#mw-abusefilter-expr-result' )
.html( mw.html.escape( data.evalfilterexpression.result ) );
.html( mw.html.escape( data.abusefilterevalexpression.result ) );
};
/**
@ -73,7 +73,7 @@ new ( function( $, mw ) {
break;
}
} else {
msg = mw.message( 'abusefilter-reautoconfirm-done', data.unblockautopromote.user ).toString();
msg = mw.message( 'abusefilter-reautoconfirm-done', data.abusefilterunblockautopromote.user ).toString();
}
mw.util.jsMessage( msg );