diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /tests/selenium/suites/SimpleSeleniumConfig.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'tests/selenium/suites/SimpleSeleniumConfig.php')
-rw-r--r-- | tests/selenium/suites/SimpleSeleniumConfig.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/selenium/suites/SimpleSeleniumConfig.php b/tests/selenium/suites/SimpleSeleniumConfig.php new file mode 100644 index 00000000..54def35a --- /dev/null +++ b/tests/selenium/suites/SimpleSeleniumConfig.php @@ -0,0 +1,30 @@ +<?php +class SimpleSeleniumConfig { + + public static function getSettings(&$includeFiles, &$globalConfigs, &$resourceFiles) { + global $IP; + $includes = array( + //files that needed to be included would go here + ); + $configs = array( + 'wgDBprefix' => 'mw_', + 'wgDBTableOptions' => 'ENGINE=InnoDB, DEFAULT CHARSET=binary', + 'wgDBmysql5' => 'false', + 'wgMainCacheType' => 'CACHE_NONE', + 'wgParserCacheType' => 'CACHE_NONE', + 'wgMemCachedServers'=> array(), + 'wgLanguageCode' => 'en', + 'wgSitename' => 'test_wiki', + 'wgDefaultSkin' => 'chick' + ); + $resources = array( + 'db' => "$IP/tests/selenium/data/SimpleSeleniumTestDB.sql", + 'images' => "$IP/tests/selenium/data/SimpleSeleniumTestImages.zip" + ); + + $includeFiles = array_merge( $includeFiles, $includes ); + $globalConfigs = array_merge( $globalConfigs, $configs); + $resourceFiles = array_merge( $resourceFiles, $resources ); + return true; + } +}
\ No newline at end of file |