Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -321,7 +321,7 @@ |
322 | 322 | |
323 | 323 | // show direct page/create link |
324 | 324 | if( !is_null($t) ) { |
325 | | - if( !$t->exists() ) { |
| 325 | + if( !$t->isKnown() ) { |
326 | 326 | $wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) ); |
327 | 327 | } else { |
328 | 328 | $wgOut->addWikiMsg( 'searchmenu-exists', wfEscapeWikiText( $t->getPrefixedText() ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -536,6 +536,8 @@ |
537 | 537 | if $wgHtml5=false. |
538 | 538 | * (bug 20836) Preload now works for MediaWiki namespace |
539 | 539 | * (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 |
540 | 542 | |
541 | 543 | == API changes in 1.16 == |
542 | 544 | |