r57298 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57297‎ | r57298 | r57299 >
Date:18:27, 2 October 2009
Author:ialex
Status:ok (Comments)
Tags:
Comment:
* (bug 20948) "Create this page" on Special:Search is no longer displayed when searching for special pages
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
@@ -321,7 +321,7 @@
322322
323323 // show direct page/create link
324324 if( !is_null($t) ) {
325 - if( !$t->exists() ) {
 325+ if( !$t->isKnown() ) {
326326 $wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) );
327327 } else {
328328 $wgOut->addWikiMsg( 'searchmenu-exists', wfEscapeWikiText( $t->getPrefixedText() ) );
Index: trunk/phase3/RELEASE-NOTES
@@ -536,6 +536,8 @@
537537 if $wgHtml5=false.
538538 * (bug 20836) Preload now works for MediaWiki namespace
539539 * (bug 20885) Search box no longer suggests unavailable special pages
 540+* (bug 20948) "Create this page" on Special:Search is no longer displayed when
 541+ searching for special pages
540542
541543 == API changes in 1.16 ==
542544

Comments

#Comment by IAlex (talk | contribs)   18:30, 2 October 2009

Forgot to say that this was a patch by Mormegil: http://bug-attachment.wikimedia.org/attachment.cgi?id=6616

Status & tagging log