McIntireEvan has uploaded a new change for review.
https://gerrit.wikimedia.org/r/184246
Change subject: Documented several functions in DateFormatter
......................................................................
Documented several functions in DateFormatter
*Documented getMonthRegex()
*Documented makeISOYear()
*Documented makeNormalYear()
Change-Id: If329d22f9ac913a223e4aa6cf13e995a165ea098
---
M includes/parser/DateFormatter.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/46/184246/1
diff --git a/includes/parser/DateFormatter.php
b/includes/parser/DateFormatter.php
index 82f0e9d..dd39856 100644
--- a/includes/parser/DateFormatter.php
+++ b/includes/parser/DateFormatter.php
@@ -315,7 +315,7 @@
}
/**
- * @todo document
+ * Returns a regex string that will match any month or month
abbreviation.
* @return string
*/
public function getMonthRegex() {
@@ -338,7 +338,7 @@
}
/**
- * @todo document
+ * Makes an ISO year from a given year name
* @param string $year Year name
* @return string ISO year name
*/
@@ -356,7 +356,7 @@
}
/**
- * @todo document
+ * Makes a normal year from and ISO year
* @param string $iso
* @return int|string
*/
--
To view, visit https://gerrit.wikimedia.org/r/184246
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If329d22f9ac913a223e4aa6cf13e995a165ea098
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: McIntireEvan <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits