mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Followup r98490, since the module names changed the variable names need changing as well
This commit is contained in:
parent
3f06314486
commit
4926aeae24
Notes:
Raimond Spekking
2012-03-12 20:46:25 +00:00
|
@ -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");
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue