User "Hashar" posted a comment on MediaWiki.r101356.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101356#c25208
Commit summary:

fix mediawiki.test wrong URL

mw.loader.bug30825 test verify we AJAX calls support protocols relative URLS.
The way we forged the target URL was fine when running tests directly from
the file (ie: http://localhost/wiki/tests/qunit/index.html ) but did not
work correctly from Special:JavaScriptTest.

This patch fix the forged URL so it works in both case hopefully.

Comment:

With index.html on my installation:
* wgScriptPath is http://localhost/wiki/ on my 
* wgServer is empty.

Hence the above hack which is merely a workaround.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to