From ea6b78909d4e7e3d752655c3958023396133274e Mon Sep 17 00:00:00 2001 From: Kaldari Date: Mon, 8 Feb 2016 19:29:09 -0600 Subject: [PATCH] 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 --- includes/Title.php | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.20.1