Page MenuHomePhabricator

Add JS variables for $wgScriptPath and $wgArticlePath
Closed, ResolvedPublic

Description

Author: lupin.wp

Description:
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.


Version: 1.7.x
Severity: enhancement

Details

Reference
bz6030

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:17 PM
bzimport set Reference to bz6030.
bzimport added a subscriber: Unknown Object (MLST).

lupin.wp wrote:

Attachment 2146 in bug 6806 resolves this.