From 94c9383fd72c889ab14001a53307913b03b8ffd9 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 2 Jul 2006 19:36:11 +0000 Subject: [PATCH] * Rename "searchquery" to "searchsubtitle" and support wiki text in it --- RELEASE-NOTES | 1 + includes/AjaxFunctions.php | 4 ++-- includes/SpecialSearch.php | 2 +- languages/Messages.php | 4 ++-- languages/MessagesDe.php | 2 +- languages/MessagesFr.php | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 34e724ceed..d9a94bdc5b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -629,6 +629,7 @@ Some default configuration options have changed: with interwiki prefixes, otherwise do what Title::makeTitleSafe() does. * (bug 6516) Update to Russian translation * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'. +* Rename "searchquery" to "searchsubtitle" and support wiki text in it == Compatibility == diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php index 73af03ce22..28b01eec2c 100644 --- a/includes/AjaxFunctions.php +++ b/includes/AjaxFunctions.php @@ -98,7 +98,7 @@ class AjaxCachePolicy { function wfSajaxSearch( $term ) { - global $wgContLang, $wgAjaxCachePolicy; + global $wgContLang, $wgAjaxCachePolicy, $wgOut; $limit = 16; $l = new Linker; @@ -140,7 +140,7 @@ function wfSajaxSearch( $term ) { return '
' . wfMsg( 'hideresults' ) . '
' . '

'.wfMsg('search') - . '

'.wfMsg('searchquery', $term) . '