Last modified: 2011-03-31 18:15:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30330, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28330 - wgExtensionAssetsPath is not defined in modules/jquery.wikiEditor.js
wgExtensionAssetsPath is not defined in modules/jquery.wikiEditor.js
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-30 12:13 UTC by misdre
Modified: 2011-03-31 18:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description misdre 2011-03-30 12:13:17 UTC
On line 78 in jquery.wikiEditor.js (r82698), the variable wgExtensionAssetsPath is used but it seems it is not defined anywhere, throwing an error and preventing the toolbar from appearing.
Comment 1 Roan Kattouw 2011-03-31 18:15:29 UTC
This works for me on the live site:
>>> wgExtensionAssetsPath
"/w/extensions-1.17"

On trunk (r85075) on my machine:
>>> wgExtensionAssetsPath
"/w/extensions"

wgExtensionAssetsPath is exported by the ResourceLoader; I guess you may be using mismatching versions of MediaWiki and WikiEditor, or maybe r82698 is just buggy. 

This works in latest trunk and on the live site, so closing WORKSFORME.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links