From 7f1c8a65750656fec0abff6dea0872da20d50400 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 17 Jun 2010 19:01:50 +0000 Subject: [PATCH] (bug 23520) Add preference for SimpleSearch so users can disable it, and make it obey the "Disable AJAX suggestions" preference --- skins/Vector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index 279c795dab..96db057d34 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -675,7 +675,7 @@ class VectorTemplate extends QuickTemplate { * when UI is in RTL mode */ private function renderNavigation( $elements ) { - global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName; + global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgUser; // If only one element was given, wrap it in an array, allowing more // flexible arguments @@ -768,7 +768,7 @@ class VectorTemplate extends QuickTemplate { html('userlangattributes') ?>>
- + getOption( 'vector-simplesearch' ) ): ?>
skin->tooltipAndAccesskey( 'search' ); ?> data['search'] ) ): ?> value="text( 'search' ) ?>" /> -- 2.20.1