r61842 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61841‎ | r61842 | r61843 >
Date:01:17, 2 February 2010
Author:catrope
Status:deferred
Tags:
Comment:
wmf-deployment: UsabilityInitiative_alpha: Forgot to recombine for highlight hack
Modified paths:
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/WikiEditor/WikiEditor.combined.js (modified) (history)
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/WikiEditor/WikiEditor.combined.min.js (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/WikiEditor/WikiEditor.combined.js
@@ -2,7 +2,7 @@
33
44 $j(document).ready( function() {
55 // Check preferences for highlight
6 - if ( !wgWikiEditorEnabledModules.highlight ) {
 6+ if ( !wgWikiEditorEnabledModules.toc ) { //HACK
77 return true;
88 }
99 // Add the highlight module
Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/WikiEditor/WikiEditor.combined.min.js
@@ -1,5 +1,5 @@
22
3 -$j(document).ready(function(){if(!wgWikiEditorEnabledModules.highlight){return true;}
 3+$j(document).ready(function(){if(!wgWikiEditorEnabledModules.toc){return true;}
44 if($j.fn.wikiEditor){$j('textarea#wpTextbox1').wikiEditor('addModule','highlight');}});$j(document).ready(function(){if(!wgWikiEditorEnabledModules.preview){return true;}
55 if($j.fn.wikiEditor){$j('textarea#wpTextbox1').wikiEditor('addModule','preview');}});$j(document).ready(function(){if(!wgWikiEditorEnabledModules.publish){return true;}
66 if($j.fn.wikiEditor){$j('textarea#wpTextbox1').wikiEditor('addModule','publish');}});$j(document).ready(function(){if(!wgWikiEditorPreferences||!(wgWikiEditorPreferences.toc&&wgWikiEditorPreferences.toc.enable)){return true;}

Status & tagging log