Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/270934
Change subject: Fix typo and improve code comments in LinkTarget
......................................................................
Fix typo and improve code comments in LinkTarget
Change-Id: I53cd07fafd00ded65e2657db96f94170013abed8
---
M includes/LinkTarget.php
1 file changed, 5 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/34/270934/1
diff --git a/includes/LinkTarget.php b/includes/LinkTarget.php
index 1ce5f32..175a839 100644
--- a/includes/LinkTarget.php
+++ b/includes/LinkTarget.php
@@ -8,29 +8,28 @@
interface LinkTarget {
/**
- * Get the namespace index
+ * Get the namespace index.
*
* @return int Namespace index
*/
public function getNamespace();
/**
- * Get the link fragment (i.e.\ the bit after the #) in text form
+ * Get the link fragment (i.e. the bit after the #) in text form.
*
* @return string link fragment
*/
public function getFragment();
/**
- * Get the main part with underscores
+ * Get the main part with underscores.
*
- * @return string Main part of the link, with underscores (for use in
hrf attributes)
+ * @return string Main part of the link, with underscores (for use in
href attributes)
*/
public function getDBkey();
/**
- * Returns the link in text form,
- * without namespace prefix or fragment.
+ * Returns the link in text form, without namespace prefix or fragment.
*
* This is computed from the DB key by replacing any underscores with
spaces.
*
--
To view, visit https://gerrit.wikimedia.org/r/270934
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53cd07fafd00ded65e2657db96f94170013abed8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits