r99951 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99950‎ | r99951 | r99952 >
Date:13:16, 16 October 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Nikerabbit, fix for r99863: removed copy/paste error in method documentation
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1881,7 +1881,6 @@
18821882 * Get the formatted date for the given timestamp and formatted for
18831883 * the given user.
18841884 *
1885 - * @param $type String: can be 'date', 'time' or 'both'
18861885 * @param $ts Mixed: the time format which needs to be turned into a
18871886 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
18881887 * @param $user User object used to get preferences for timezone and format
@@ -1904,7 +1903,6 @@
19051904 * Get the formatted time for the given timestamp and formatted for
19061905 * the given user.
19071906 *
1908 - * @param $type String: can be 'date', 'time' or 'both'
19091907 * @param $ts Mixed: the time format which needs to be turned into a
19101908 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
19111909 * @param $user User object used to get preferences for timezone and format
@@ -1927,7 +1925,6 @@
19281926 * Get the formatted date and time for the given timestamp and formatted for
19291927 * the given user.
19301928 *
1931 - * @param $type String: can be 'date', 'time' or 'both'
19321929 * @param $ts Mixed: the time format which needs to be turned into a
19331930 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
19341931 * @param $user User object used to get preferences for timezone and format

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99863* Added Language::userDate(), Language::userTime() and Language::userTimeAndD...ialex09:32, 15 October 2011

Status & tagging log