r111458 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111457‎ | r111458 | r111459 >
Date:13:51, 14 February 2012
Author:hashar
Status:ok
Tags:
Comment:
revert r108210 (js wgScriptPath removal)

Per CR, breaks back compatibility with MediaWiki 1.16.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/skins/SMW_tooltip.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/skins/SMW_tooltip.js
@@ -21,7 +21,7 @@
2222 var tt = null; // the tooltip
2323 var all_tt = []; // record all active tooltips
2424
25 -var imagePath = mw.config.get( 'wgScriptPath' ) + '/extensions/SemanticMediaWiki/skins/images/';
 25+var imagePath = wgScriptPath + '/extensions/SemanticMediaWiki/skins/images/';
2626
2727 // Dimensions of persistent tooltips
2828 var SMWTT_WIDTH_P = 400;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108210Graaaaaah! Die die die legacy globalsnikerabbit10:08, 6 January 2012

Status & tagging log