[JSTesting] Fix static html tests
authorKrinkle <krinkle@users.mediawiki.org>
Tue, 3 Jan 2012 21:53:23 +0000 (21:53 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Tue, 3 Jan 2012 21:53:23 +0000 (21:53 +0000)
commit42baefa774085a88f879683b54a26e13632ff649
treed24e8486fc622405be8f8ad69de76ce4fd5f6e18
parent0bbf9a45b08da15edb5aa767be26c2b13508c418
[JSTesting] Fix static html tests
* r107919 merge broke it as it removed all the inline mw.config calls, and the tearDown is resetting them to the initial values. That works fine on a MediaWiki page but on the static page are now no variables at all. Copying a basic sample to it. This should've been in the static test suite all along actually.
* Calculating wgScriptPath based on location.pathname instead of location.href, exclude wgServer
* Follows-up r107919
tests/qunit/index.html