Merge "Add 2 FIXMEs about confusingly named functions"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 14 Feb 2016 16:33:26 +0000 (16:33 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 14 Feb 2016 16:33:26 +0000 (16:33 +0000)
includes/Title.php

index 50721af..e3ceaee 100644 (file)
@@ -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()