diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2017-02-20 14:44:19 -0800 |
---|---|---|
committer | Jforrester <jforrester@wikimedia.org> | 2017-02-21 18:13:24 +0000 |
commit | 9635dda73a556764ea6218670e8ae87775d5cd6d (patch) | |
tree | 815f8fedd78c10dae6273b8b8e320d977e6885d0 /includes/PrefixSearch.php | |
parent | b715f432f420dece9feb56268ce2410a168d3312 (diff) | |
download | mediawikicore-9635dda73a556764ea6218670e8ae87775d5cd6d.tar.gz mediawikicore-9635dda73a556764ea6218670e8ae87775d5cd6d.zip |
includes: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.
Change-Id: I6f59febaf8fc96e80f8cfc11f4356283f461142a
Diffstat (limited to 'includes/PrefixSearch.php')
-rw-r--r-- | includes/PrefixSearch.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/PrefixSearch.php b/includes/PrefixSearch.php index 48b1d72e1b8f..62ee5c650d12 100644 --- a/includes/PrefixSearch.php +++ b/includes/PrefixSearch.php @@ -231,7 +231,7 @@ abstract class PrefixSearch { } } - # normalize searchKey, so aliases with spaces can be found - bug 25675 + # normalize searchKey, so aliases with spaces can be found - T27675 $searchKey = str_replace( ' ', '_', $searchKey ); $searchKey = $wgContLang->caseFold( $searchKey ); @@ -243,7 +243,7 @@ abstract class PrefixSearch { } foreach ( $wgContLang->getSpecialPageAliases() as $page => $aliases ) { - if ( !in_array( $page, SpecialPageFactory::getNames() ) ) {# bug 20885 + if ( !in_array( $page, SpecialPageFactory::getNames() ) ) {# T22885 continue; } @@ -256,7 +256,7 @@ abstract class PrefixSearch { $matches = []; foreach ( $keys as $pageKey => $page ) { if ( $searchKey === '' || strpos( $pageKey, $searchKey ) === 0 ) { - // bug 27671: Don't use SpecialPage::getTitleFor() here because it + // T29671: Don't use SpecialPage::getTitleFor() here because it // localizes its input leading to searches for e.g. Special:All // returning Spezial:MediaWiki-Systemnachrichten and returning // Spezial:Alle_Seiten twice when $wgLanguageCode == 'de' |