From: Kaldari Date: Tue, 9 Feb 2016 01:29:09 +0000 (-0600) Subject: Add 2 FIXMEs about confusingly named functions X-Git-Tag: 1.31.0-rc.0~7957^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=ea6b78909d4e7e3d752655c3958023396133274e;p=lhc%2Fweb%2Fwiklou.git Add 2 FIXMEs about confusingly named functions With the roll-out of the Gadget namespace, these are going to be especially misleading and likely to cause bugs. Change-Id: I61f1f56762711fab173bbc54d110a7c48604d464 --- diff --git a/includes/Title.php b/includes/Title.php index 55c7179276..da0efeea22 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1261,6 +1261,7 @@ class Title implements LinkTarget { * show "inactive" CSS or JS. * * @return bool + * @todo FIXME: Rename to isSiteConfigPage() and remove deprecated hook */ public function isCssOrJsPage() { $isCssOrJsPage = NS_MEDIAWIKI == $this->mNamespace @@ -1279,6 +1280,7 @@ class Title implements LinkTarget { /** * Is this a .css or .js subpage of a user page? * @return bool + * @todo FIXME: Rename to isUserConfigPage() */ public function isCssJsSubpage() { return ( NS_USER == $this->mNamespace && $this->isSubpage()