Localisation updates from http://translatewiki.net.
[mediawiki.git] / tests / selenium / suites / SimpleSeleniumConfig.php
bloba69351146ed848c43c70589ce3a0a87b4978233e
1 <?php
2 class SimpleSeleniumConfig {
4 public static function getSettings( &$includeFiles, &$globalConfigs, &$resourceFiles ) {
5 global $IP;
6 $includes = array(
7 //files that needed to be included would go here
8 );
9 $configs = array(
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'
20 $resources = array(
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 );
28 return true;