r82251 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82250‎ | r82251 | r82252 >
Date:14:53, 16 February 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r82250
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/WikiEditor/modules/jquery.wikiEditor.iframe.js (modified) (history)
  • /branches/wmf/1.17wmf1/extensions/WikiEditor/modules/jquery.wikiEditor.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/WikiEditor/modules/jquery.wikiEditor.js
@@ -75,7 +75,7 @@
7676 * Path to images - this is a bit messy, and it would need to change if this code (and images) gets moved into the
7777 * core - or anywhere for that matter...
7878 */
79 - 'imgPath' : wgScriptPath + '/extensions/WikiEditor/modules/images/',
 79+ 'imgPath' : wgExtensionAssetsPath + '/WikiEditor/modules/images/',
8080 /**
8181 * Checks the current browser against the browsers object to determine if the browser has been black-listed or not.
8282 * Because these rules are often very complex, the object contains configurable operators and can check against
Index: branches/wmf/1.17wmf1/extensions/WikiEditor/modules/jquery.wikiEditor.iframe.js
@@ -607,7 +607,7 @@
608608 'frameBorder': 0,
609609 'border': 0,
610610 'tabindex': 1,
611 - 'src': wgScriptPath + '/extensions/WikiEditor/modules/jquery.wikiEditor.html?' +
 611+ 'src': wgExtensionAssetsPath + '/WikiEditor/modules/jquery.wikiEditor.html?' +
612612 'instance=' + context.instance + '&ts=' + ( new Date() ).getTime() + '&is=content',
613613 'id': 'wikiEditor-iframe-' + context.instance
614614 } )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82250WikiEditor: Use wgExtensionAssetsPath instead of wgScriptPath + '/extensions'catrope14:52, 16 February 2011

Status & tagging log