From: Bartosz DziewoƄski Date: Tue, 22 Jul 2014 18:27:46 +0000 (+0200) Subject: Move Vector's $wg configuration options to Vector.php X-Git-Tag: 1.31.0-rc.0~14539 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=9f1e4b117fb0133c44fd588894a7c071ed6330b5;p=lhc%2Fweb%2Fwiklou.git Move Vector's $wg configuration options to Vector.php Change-Id: Ic1801bff707ebfb3fccdbf4ac257ed6593ca3178 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 48e7d9800d..cbcf456c21 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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. */ diff --git a/skins/Vector/Vector.php b/skins/Vector/Vector.php index a08d121d05..d16e8bbf1b 100644 --- a/skins/Vector/Vector.php +++ b/skins/Vector/Vector.php @@ -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;