r78955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78954‎ | r78955 | r78956 >
Date:13:28, 24 December 2010
Author:platonides
Status:ok
Tags:
Comment:
(Bug 26412) Search results headers no longer show a bogus edit link.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialSearch.php
@@ -290,6 +290,7 @@
291291 wfRunHooks( 'SpecialSearchNoResults', array( $term ) );
292292 }
293293
 294+ $wgOut->parserOptions()->setEditSection( false );
294295 if( $titleMatches ) {
295296 if( $numTitleMatches > 0 ) {
296297 $wgOut->wrapWikiMsg( "==$1==\n", 'titlematches' );
Index: trunk/phase3/RELEASE-NOTES
@@ -42,6 +42,7 @@
4343 * (bug 26379) importImages.php gives more descriptive error message on failure.
4444 * (Bug 26410) + signs are no longer treated as spaces in internal links if
4545 link has a % sign in it.
 46+* (Bug 26412) Search results headers no longer show a bogus edit link.
4647
4748 === API changes in 1.18 ===
4849 * (bug 26339) Throw warning when truncating an overlarge API result

Status & tagging log