r60258 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60257‎ | r60258 | r60259 >
Date:14:22, 21 December 2009
Author:nimishg
Status:ok
Tags:
Comment:
consistency in naming the noinclude class
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js
@@ -390,7 +390,7 @@
391391
392392 //get rid of the noincludes when getting text
393393 var $dummyDiv = $( '<div />' ).html( context.$content.html().replace( /\<br\>/g, "\n" ) );
394 - $dummyDiv.find( ".wikieditor-noinclude" ).each( function() { $( this ).remove(); } );
 394+ $dummyDiv.find( ".wikiEditor-noinclude" ).each( function() { $( this ).remove(); } );
395395 return $dummyDiv.text();
396396
397397 },

Status & tagging log