diff --git a/modules/ext.abuseFilter.edit.js b/modules/ext.abuseFilter.edit.js index d11a2f25b..906709f43 100644 --- a/modules/ext.abuseFilter.edit.js +++ b/modules/ext.abuseFilter.edit.js @@ -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"); diff --git a/modules/ext.abuseFilter.examine.js b/modules/ext.abuseFilter.examine.js index 1eca9a1ab..73abb6ea2 100644 --- a/modules/ext.abuseFilter.examine.js +++ b/modules/ext.abuseFilter.examine.js @@ -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 { diff --git a/modules/ext.abuseFilter.tools.js b/modules/ext.abuseFilter.tools.js index 8b649eb43..cba86eea1 100644 --- a/modules/ext.abuseFilter.tools.js +++ b/modules/ext.abuseFilter.tools.js @@ -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 );