Add hints to two function comments in Title.php
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 24 Jan 2014 21:35:52 +0000 (22:35 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 24 Jan 2014 21:35:52 +0000 (22:35 +0100)
Change-Id: I47627892c6450396cfb658ddef7617046fdf4209

includes/Title.php

index 79853df..6942218 100644 (file)
@@ -706,6 +706,8 @@ class Title {
        /**
         * Get the interwiki prefix
         *
+        * Use Title::isExternal to check if a interwiki is set
+        *
         * @return String Interwiki prefix
         */
        public function getInterwiki() {
@@ -1194,6 +1196,8 @@ class Title {
        /**
         * Get the Title fragment (i.e.\ the bit after the #) in text form
         *
+        * Use Title::hasFragment to check for a fragment
+        *
         * @return String Title fragment
         */
        public function getFragment() {