2 class SimpleSeleniumConfig
{
4 public static function getSettings(&$includeFiles, &$globalConfigs, &$resourceFiles) {
7 //files that needed to be included would go here
10 'wgDBprefix' => 'mw_',
11 'wgDBTableOptions' => 'ENGINE=InnoDB, DEFAULT CHARSET=binary',
12 'wgDBmysql5' => 'false',
13 'wgMainCacheType' => 'CACHE_NONE',
14 'wgParserCacheType' => 'CACHE_NONE',
15 'wgMemCachedServers'=> array(),
16 'wgLanguageCode' => 'en',
17 'wgSitename' => 'test_wiki',
18 'wgDefaultSkin' => 'chick'
21 'db' => "$IP/tests/selenium/data/SimpleSeleniumTestDB.sql",
22 'images' => "$IP/tests/selenium/data/SimpleSeleniumTestImages.zip"
25 $includeFiles = array_merge( $includeFiles, $includes );
26 $globalConfigs = array_merge( $globalConfigs, $configs);
27 $resourceFiles = array_merge( $resourceFiles, $resources );