From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Sat, 3 Dec 2011 13:29:22 +0100
Subject: Update to MediaWiki 1.18.0

* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
---
 .../tests/selenium/WikiEditorSeleniumConfig.php    | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php

(limited to 'extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php')

diff --git a/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php b/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php
new file mode 100644
index 00000000..534d1351
--- /dev/null
+++ b/extensions/WikiEditor/tests/selenium/WikiEditorSeleniumConfig.php
@@ -0,0 +1,27 @@
+<?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 ),
+				'toc' => array( 'global' => false, 'user' => false ),
+				'highlight' => array( 'global' => false, 'user' => false ),
+				'templateEditor' => array( 'global' => false, 'user' => false ),
+				'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; 
+	}
+}
\ No newline at end of file
-- 
cgit v1.2.3-54-g00ecf