Index: trunk/phase3/includes/PrefixSearch.php |
— | — | @@ -83,6 +83,9 @@ |
84 | 84 | $keys[$wgContLang->caseFold( $page )] = $page; |
85 | 85 | } |
86 | 86 | foreach( $wgContLang->getSpecialPageAliases() as $page => $aliases ) { |
| 87 | + if( !array_key_exists( $page, SpecialPage::$mList ) ) # bug 20885 |
| 88 | + continue; |
| 89 | + |
87 | 90 | foreach( $aliases as $alias ) { |
88 | 91 | $keys[$wgContLang->caseFold( $alias )] = $alias; |
89 | 92 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -535,6 +535,7 @@ |
536 | 536 | * Password fields built with HTMLForm now still have the type="password" attribute |
537 | 537 | if $wgHtml5=false. |
538 | 538 | * (bug 20836) Preload now works for MediaWiki namespace |
| 539 | +* (bug 20885) Search box no longer suggests unavailable special pages |
539 | 540 | |
540 | 541 | == API changes in 1.16 == |
541 | 542 | |