r60105 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60104‎ | r60105 | r60106 >
Date:23:30, 15 December 2009
Author:nimishg
Status:ok
Tags:
Comment:
changed to 'wikieditor' as opposed to 'wiki-editor' for style consistency
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( ".wiki-editor-noinclude" ).each( function() { $( this ).remove(); } );
 394+ $dummyDiv.find( ".wikieditor-noinclude" ).each( function() { $( this ).remove(); } );
395395 return $dummyDiv.text();
396396
397397 },

Status & tagging log