diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-04-01 06:11:44 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-04-01 06:11:44 +0200 |
commit | 14f74d141ab5580688bfd46d2f74c026e43ed967 (patch) | |
tree | 081b7cbfc4d246ecc42831978d080331267cf57c /extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php | |
parent | 4a953b6bfda28604979feb9cfbb58974d13b84bb (diff) |
Update to MediaWiki 1.24.2
Diffstat (limited to 'extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php')
-rw-r--r-- | extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php b/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php new file mode 100644 index 00000000..137e67b0 --- /dev/null +++ b/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php @@ -0,0 +1,24 @@ +<?php + +class WikiEditorSeleniumConfig { + + public static function getSettings( &$includeFiles, &$globalConfigs ) { + $includes = array( + 'extensions/Vector/Vector.php', + 'extensions/WikiEditor/WikiEditor.php' + ); + $configs = array( + 'wgDefaultSkin' => 'vector', + 'wgWikiEditorFeatures' => array( + 'toolbar' => array( 'global' => true, 'user' => true ), + 'dialogs' => array( 'global' => true, 'user' => true ) + ), + 'wgVectorFeatures' => array( + 'editwarning' => array( 'global' => false, 'user' => false ) + ) + ); + $includeFiles = array_merge( $includeFiles, $includes ); + $globalConfigs = array_merge( $globalConfigs, $configs ); + return true; + } +} |