Last modified: 2012-08-22 08:01:51 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 T41103, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39103 - mw.util.wikiScript(..) and wfScript(..) do not respect custom $wgScript and $wgLoadScript
mw.util.wikiScript(..) and wfScript(..) do not respect custom $wgScript and $...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: 1.20.0 release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 39102
  Show dependency treegraph
 
Reported: 2012-08-07 17:43 UTC by Umherirrender
Modified: 2012-08-22 08:01 UTC (History)
4 users (show)

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


Attachments

Description Umherirrender 2012-08-07 17:43:07 UTC
translatewiki.net does not use index.php. It is using i.php, but mw.util.wikiScript gives index.php

mw.util.wikiScript() gives "/w/index.php", but mw.config.get( 'wgScript' ) gives "/w/i.php".

see also bug 39102
Comment 1 Krinkle 2012-08-07 23:04:28 UTC
btw, nor does GlobalFunctions.php: wfScript() on the server side.

If and when we are going to support this, we'd have to special-case the ones that have their own variable:
* wgScript
* wgLoadScript
Comment 2 Roan Kattouw 2012-08-21 22:17:27 UTC
Fix submitted in https://gerrit.wikimedia.org/r/20931
Comment 3 Alexandre Emsenhuber [IAlex] 2012-08-22 08:01:51 UTC
And merged.

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


Navigation
Links