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

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101356#c25193
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:

I can't test this right now but did you account for the fact that mw.config is 
empty when running from /tests/qunit/index.html (because there is no 
database/php) ? (which is the reason it was using a regex).

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to