Some languages need a split of date and time to make better translation.
Added a new parameters for 'rclistfrom', converted the whole message
to a link, updated Qqq entries.
Bug: 19104
Change-Id: Id9127cf022be2394b2a4843572088e0ba8a888a8
// show from this onward link
$timestamp = wfTimestampNow();
$now = $lang->userTimeAndDate( $timestamp, $user );
- $tl = $this->makeOptionsLink(
- $now, array( 'from' => $timestamp ), $nondefaults
- );
-
+ $timenow = $lang->userTime( $timestamp, $user );
+ $datenow = $lang->userDate( $timestamp, $user );
$rclinks = $this->msg( 'rclinks' )->rawParams( $cl, $dl, $lang->pipeList( $links ) )
->parse();
- $rclistfrom = $this->msg( 'rclistfrom' )->rawParams( $tl )->parse();
+ $rclistfrom = $this->makeOptionsLink(
+ $this->msg( 'rclistfrom' )->rawParams( $now, $timenow, $datenow )->parse(),
+ array( 'from' => $timestamp ),
+ $nondefaults
+ );
return "{$note}$rclinks<br />$rclistfrom";
}
'recentchanges-legend-newpage' => '(also see [[Special:NewPages|list of new pages]])',
'recentchanges-legend-plusminus' => '(<em>±123</em>)', # only translate this message to other languages if you have to change it
'rcnotefrom' => 'Below are the changes since <strong>$2</strong> (up to <strong>$1</strong> shown).',
-'rclistfrom' => 'Show new changes starting from $1',
+'rclistfrom' => 'Show new changes starting from $2, $3',
'rcshowhideminor' => '$1 minor edits',
'rcshowhideminor-show' => 'Show',
'rcshowhideminor-hide' => 'Hide',
A plus/minus sign with a number for the legend.',
'rcnotefrom' => 'This message is displayed at [[Special:RecentChanges]] when viewing recentchanges from some specific time.
-The corresponding message is {{msg-mw|Rclistfrom}} (without split of date and time, [[bugzilla:19104|Bug 19104]]).
+The corresponding message is {{msg-mw|Rclistfrom}} (split into date and time).
Parameters:
* $1 - the maximum number of changes that are displayed
'rclistfrom' => 'Used on [[Special:RecentChanges]].
Parameters:
-* $1 - a link to the revision of a specific date and time. The date and the time are the link description (without split of date and time, [[bugzilla:19104|Bug 19104]]).
+* $1 - Revision of a specific date and time. The date and the time adds to the rclistfrom description. No longer used.
+* $2 - Revision of a specific time. The time adds to the rclistfrom link description (with split of date and time).
+* $3 - Revision of a specific date. The date adds to the rclistfrom link description (with split of date and time).
The corresponding message is {{msg-mw|Rcnotefrom}}.',
'rcshowhideminor' => 'Option text in [[Special:RecentChanges]]. Parameters: