skin: Use Title::isKnown() / Title::exists() instead of Title::getArticleID()
authorKunal Mehta <legoktm@gmail.com>
Tue, 17 Feb 2015 22:04:36 +0000 (14:04 -0800)
committerKunal Mehta <legoktm@gmail.com>
Tue, 17 Feb 2015 22:24:10 +0000 (14:24 -0800)
commitf16c92bdff44794dd698a691b6ad25dcaa059c90
tree2e5cb30b63844702f69b82729e3e381af95dabc8
parentcab99af90e4b5c9cc1d5f3ce769245876ac643a0
skin: Use Title::isKnown() / Title::exists() instead of Title::getArticleID()

Some of these calls pre-date the existence of isKnown() and exists(), which
should be used instead of calling getArticleID() directly. For places where
we're just trying to determine link color, I used isKnown(), and for other
places we're trying to figure out where an article exists, I used exists().

Bug: T85550
Change-Id: I47c8af8485857cc0f3190b4ada1578ab672580af
includes/skins/Skin.php
includes/skins/SkinTemplate.php