Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/109432
Change subject: Add hints to two function comments in Title.php ...................................................................... Add hints to two function comments in Title.php Change-Id: I47627892c6450396cfb658ddef7617046fdf4209 --- M includes/Title.php 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/32/109432/1 diff --git a/includes/Title.php b/includes/Title.php index 79853df..6942218 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -706,6 +706,8 @@ /** * 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 @@ /** * 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() { -- To view, visit https://gerrit.wikimedia.org/r/109432 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I47627892c6450396cfb658ddef7617046fdf4209 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits