Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -127,6 +127,8 @@ |
128 | 128 | "vectorTabs" portlets. |
129 | 129 | * (bug 8556) Incorrect session failure warning on preview-on-open |
130 | 130 | namespaces (categories) when combined with $wgRawHtml. |
| 131 | +* Use content language in formatting of dates in revertpage message |
| 132 | + (rollback revert edit summary) and do not adjust for user timezone. |
131 | 133 | |
132 | 134 | === API changes in 1.19 === |
133 | 135 | * BREAKING CHANGE: action=watch now requires POST and token. |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -3237,7 +3237,7 @@ |
3238 | 3238 | * doRollback() instead. |
3239 | 3239 | */ |
3240 | 3240 | public function commitRollback( $fromP, $summary, $bot, &$resultDetails ) { |
3241 | | - global $wgUseRCPatrol, $wgUser, $wgLang; |
| 3241 | + global $wgUseRCPatrol, $wgUser, $wgContLang; |
3242 | 3242 | |
3243 | 3243 | $dbw = wfGetDB( DB_MASTER ); |
3244 | 3244 | |
— | — | @@ -3318,8 +3318,8 @@ |
3319 | 3319 | # Allow the custom summary to use the same args as the default message |
3320 | 3320 | $args = array( |
3321 | 3321 | $target->getUserText(), $from, $s->rev_id, |
3322 | | - $wgLang->timeanddate( wfTimestamp( TS_MW, $s->rev_timestamp ), true ), |
3323 | | - $current->getId(), $wgLang->timeanddate( $current->getTimestamp() ) |
| 3322 | + $wgContLang->timeanddate( wfTimestamp( TS_MW, $s->rev_timestamp ) ), |
| 3323 | + $current->getId(), $wgContLang->timeanddate( $current->getTimestamp() ) |
3324 | 3324 | ); |
3325 | 3325 | $summary = wfMsgReplaceArgs( $summary, $args ); |
3326 | 3326 | |