* Integrated the selenium tests into MediaWiki properly, and removed the insecure...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 25 Jun 2010 05:55:23 +0000 (05:55 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 25 Jun 2010 05:55:23 +0000 (05:55 +0000)
commit1fcfd134d15d17c89894094b5dc38f29f83e95e9
treebf2e3b5d1b71d601aa2e01ff91ed19434e6be7d0
parentea979e811756b6fc049195f97d25a45a2f2b41e0
* Integrated the selenium tests into MediaWiki properly, and removed the insecure LocalSeleniumSettings.php concept.
* Removed the insecure web entry point hiding in the maintenance directory, in RunSeleniumTests.php. Replaced it with a special page interface, with CSRF protection and access control. If you wanted a secure web entry point, then I suppose this is how it would be done, but I think it should be killed ASAP.
* As in r68544, removed as many require() calls as possible, since nobody seems to know how to do them properly. Made the usual changes to make classes autoloader-compatible: class constants instead of define(), no file-scope registration code.
16 files changed:
includes/AutoLoader.php
includes/DefaultSettings.php
includes/SpecialPage.php
includes/User.php
includes/specials/SpecialSelenium.php [new file with mode: 0644]
languages/messages/MessagesEn.php
maintenance/tests/RunSeleniumTests.php
maintenance/tests/selenium/LocalSeleniumSettings.php.sample [deleted file]
maintenance/tests/selenium/Selenium.php
maintenance/tests/selenium/SeleniumLoader.php [new file with mode: 0644]
maintenance/tests/selenium/SeleniumTestCase.php
maintenance/tests/selenium/SeleniumTestConsoleLogger.php
maintenance/tests/selenium/SeleniumTestHTMLLogger.php
maintenance/tests/selenium/SeleniumTestListener.php
maintenance/tests/selenium/SeleniumTestSuite.php
maintenance/tests/selenium/SimpleSeleniumTest.php