r32078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32077‎ | r32078 | r32079 >
Date:21:34, 17 March 2008
Author:huji
Status:old
Tags:
Comment:
(bug 13407) MediaWiki:Powersearch is used in two places
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialSearch.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -676,6 +676,7 @@
677677 'showingresultsnum',
678678 'nonefound',
679679 'powersearch',
 680+ 'powersearch-legend',
680681 'powersearchtext',
681682 'searchdisabled',
682683 'googlesearch',
Index: trunk/phase3/includes/SpecialSearch.php
@@ -483,7 +483,7 @@
484484
485485 $out = Xml::openElement( 'form', array( 'id' => 'powersearch', 'method' => 'get', 'action' => $wgScript ) ) .
486486 Xml::openElement( 'fieldset' ) .
487 - Xml::element( 'legend', array( ), wfMsg( 'powersearch' ) ) .
 487+ Xml::element( 'legend', array( ), wfMsg( 'powersearch-legend' ) ) .
488488 Xml::hidden( 'title', 'Special:Search' ) .
489489 wfMsgExt( 'powersearchtext', array( 'parse', 'replaceafter' ),
490490 $namespaces, $redirect, $searchField,
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1226,6 +1226,7 @@
12271227 'showingresultsnum' => "Showing below {{PLURAL:$3|'''1''' result|'''$3''' results}} starting with #'''$2'''.",
12281228 '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).",
12291229 'powersearch' => 'Advanced search',
 1230+'powersearch-legend' => 'Advanced search',
12301231 'powersearchtext' => 'Search in namespaces:<br />$1<br />$2 List redirects<br />Search for $3 $9',
12311232 '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.',
12321233 'googlesearch' => '<form method="get" action="http://www.google.com/search" id="googlesearch">
Index: trunk/phase3/RELEASE-NOTES
@@ -96,6 +96,7 @@
9797 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
9898 'generated-sidebar'.
9999 * (bug 13265) Media handler is missing 'image/x-bmp'
 100+* (bug 13407) MediaWiki:Powersearch is used in two places
100101
101102 === API changes in 1.13 ===
102103

Status & tagging log