Last modified: 2010-05-15 14:35:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6030 - Add JS variables for $wgScriptPath and $wgArticlePath
Add JS variables for $wgScriptPath and $wgArticlePath
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-20 17:05 UTC by Lupin
Modified: 2010-05-15 14:35 UTC (History)
0 users

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


Description Lupin 2006-05-20 17:05:34 UTC
We have a global javascript variable skin to say which skin we're using, which
is a nice feature. Could we add other configuration variables to this? 

In particular, I'd like javascript variables containing the values of
$wgScriptPath and $wgArticlePath to be added. This way, I can write portable
scripts which synthesize and recognize wikilinks, and they should work on any
mediawiki installation.
Comment 1 Lupin 2006-07-24 23:54:08 UTC
Attachment 2146 [details] in bug 6806 resolves this.
Comment 2 Daniel Kinzler 2006-07-28 19:06:21 UTC
fixed in r15871 

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