From: Platonides Date: Fri, 24 Dec 2010 13:28:12 +0000 (+0000) Subject: (Bug 26412) Search results headers no longer show a bogus edit link. X-Git-Tag: 1.31.0-rc.0~33115 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=0e23916fe72b2f28fc69866d4edb2e6708c32e7e;p=lhc%2Fweb%2Fwiklou.git (Bug 26412) Search results headers no longer show a bogus edit link. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b2823b04fa..5e9f8ead5b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -42,6 +42,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 26379) importImages.php gives more descriptive error message on failure. * (Bug 26410) + signs are no longer treated as spaces in internal links if link has a % sign in it. +* (Bug 26412) Search results headers no longer show a bogus edit link. === API changes in 1.18 === * (bug 26339) Throw warning when truncating an overlarge API result diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index b3812e3c29..eafbc44cff 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -290,6 +290,7 @@ class SpecialSearch extends SpecialPage { wfRunHooks( 'SpecialSearchNoResults', array( $term ) ); } + $wgOut->parserOptions()->setEditSection( false ); if( $titleMatches ) { if( $numTitleMatches > 0 ) { $wgOut->wrapWikiMsg( "==$1==\n", 'titlematches' );