HomePhabricator

Cleanup Special:PrefixIndex::showPrefixChunk()

Description

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