(bug 13407) MediaWiki:Powersearch is used in two places
authorHuji <huji@users.mediawiki.org>
Mon, 17 Mar 2008 21:34:06 +0000 (21:34 +0000)
committerHuji <huji@users.mediawiki.org>
Mon, 17 Mar 2008 21:34:06 +0000 (21:34 +0000)
RELEASE-NOTES
includes/SpecialSearch.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 6ad1cca..d4511bf 100644 (file)
@@ -96,6 +96,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
   'generated-sidebar'.
 * (bug 13265) Media handler is missing 'image/x-bmp'
+* (bug 13407) MediaWiki:Powersearch is used in two places
 
 === API changes in 1.13 ===
 
index e20d838..b531caa 100644 (file)
@@ -483,7 +483,7 @@ class SpecialSearch {
 
                $out = Xml::openElement( 'form', array( 'id' => 'powersearch', 'method' => 'get', 'action' => $wgScript ) ) .
                        Xml::openElement( 'fieldset' ) .
-                       Xml::element( 'legend', array( ), wfMsg( 'powersearch' ) ) .
+                       Xml::element( 'legend', array( ), wfMsg( 'powersearch-legend' ) ) .
                        Xml::hidden( 'title', 'Special:Search' ) .
                        wfMsgExt( 'powersearchtext', array( 'parse', 'replaceafter' ),
                                $namespaces, $redirect, $searchField,
index f44355c..b651546 100644 (file)
@@ -1226,6 +1226,7 @@ Make sure that this change will maintain historical page continuity.
 'showingresultsnum'     => "Showing below {{PLURAL:$3|'''1''' result|'''$3''' results}} starting with #'''$2'''.",
 'nonefound'             => "'''Note''': Unsuccessful searches are often caused by searching for common words like \"have\" and \"from\", which are not indexed, or by specifying more than one search term (only pages containing all of the search terms will appear in the result).",
 'powersearch'           => 'Advanced search',
+'powersearch-legend'    => 'Advanced search',
 'powersearchtext'       => 'Search in namespaces:<br />$1<br />$2 List redirects<br />Search for $3 $9',
 'searchdisabled'        => '{{SITENAME}} search is disabled. You can search via Google in the meantime. Note that their indexes of {{SITENAME}} content may be out of date.',
 'googlesearch'          => '<form method="get" action="http://www.google.com/search" id="googlesearch">
index 757f143..549a99c 100644 (file)
@@ -676,6 +676,7 @@ $wgMessageStructure = array(
                'showingresultsnum',
                'nonefound',
                'powersearch',
+               'powersearch-legend',
                'powersearchtext',
                'searchdisabled',
                'googlesearch',