Cleanup Special:PrefixIndex::showPrefixChunk()
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 20 May 2016 01:58:12 +0000 (18:58 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 20 May 2016 02:08:03 +0000 (19:08 -0700)
commit1483af0c894f877e80fec3475f0fe21295be87d7
tree5d30b5f7f9ecce33578bee0b96cb4a6cf7d1f81c
parentb9d4bc7824a4f2a235b913d530f1ee9492793b7d
Cleanup Special:PrefixIndex::showPrefixChunk()

* Title::makeTitle() cannot return null or false
* Use foreach loop instead of while and $res->fetchObject()
* Select extra fields for LinkCache, and add existence into it
* Let Linker handle generation of mw-redirect class

Change-Id: I23f09956b5a39badbfa05d1188466180935cf411
includes/specials/SpecialPrefixindex.php