r108210 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108209‎ | r108210 | r108211 >
Date:10:08, 6 January 2012
Author:nikerabbit
Status:reverted (Comments)
Tags:backcompat 
Comment:
Graaaaaah! Die die die legacy globals
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 = wgScriptPath + '/extensions/SemanticMediaWiki/skins/images/';
 25+var imagePath = mw.config.get( 'wgScriptPath' ) + '/extensions/SemanticMediaWiki/skins/images/';
2626
2727 // Dimensions of persistent tooltips
2828 var SMWTT_WIDTH_P = 400;

Follow-up revisions

RevisionCommit summaryAuthorDate
r111458revert r108210 (js wgScriptPath removal)...hashar13:51, 14 February 2012

Comments

#Comment by Jeroen De Dauw (talk | contribs)   15:24, 10 February 2012

This broke compat with 1.16 in 1.7.0.1 and 1.7.0.2. Please fix. SMW is keeping compat with 1.16.x until 1.8, when the min MW will become 1.17.

#Comment by Hashar (talk | contribs)   13:51, 14 February 2012

reverted with r111458

Status & tagging log