Move Vector's $wg configuration options to Vector.php
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 18:27:46 +0000 (20:27 +0200)
committerLegoktm <legoktm.wikipedia@gmail.com>
Thu, 7 Aug 2014 14:07:41 +0000 (14:07 +0000)
Change-Id: Ic1801bff707ebfb3fccdbf4ac257ed6593ca3178

includes/DefaultSettings.php
skins/Vector/Vector.php

index 48e7d98..cbcf456 100644 (file)
@@ -3117,20 +3117,6 @@ $wgFooterIcons = array(
  */
 $wgUseCombinedLoginLink = false;
 
-/**
- * Search form look for Vector skin only.
- *  - true = use an icon search button
- *  - false = use Go & Search buttons
- */
-$wgVectorUseSimpleSearch = true;
-
-/**
- * Watch and unwatch as an icon rather than a link for Vector skin only.
- *  - true = use an icon watch/unwatch button
- *  - false = use watch/unwatch text link
- */
-$wgVectorUseIconWatch = true;
-
 /**
  * Display user edit counts in various prominent places.
  */
index a08d121..d16e8bb 100644 (file)
@@ -86,3 +86,19 @@ $wgResourceModuleSkinStyles['vector'] = array(
        'remoteSkinPath' => 'Vector',
        'localBasePath' => __DIR__,
 );
+
+// Configuration options
+
+/**
+ * Search form look.
+ *  - true = use an icon search button
+ *  - false = use Go & Search buttons
+ */
+$wgVectorUseSimpleSearch = true;
+
+/**
+ * Watch and unwatch as an icon rather than a link.
+ *  - true = use an icon watch/unwatch button
+ *  - false = use watch/unwatch text link
+ */
+$wgVectorUseIconWatch = true;