"vectorTabs" portlets.
* (bug 8556) Incorrect session failure warning on preview-on-open
namespaces (categories) when combined with $wgRawHtml.
+* Use content language in formatting of dates in revertpage message
+ (rollback revert edit summary) and do not adjust for user timezone.
=== API changes in 1.19 ===
* BREAKING CHANGE: action=watch now requires POST and token.
* doRollback() instead.
*/
public function commitRollback( $fromP, $summary, $bot, &$resultDetails ) {
- global $wgUseRCPatrol, $wgUser, $wgLang;
+ global $wgUseRCPatrol, $wgUser, $wgContLang;
$dbw = wfGetDB( DB_MASTER );
# Allow the custom summary to use the same args as the default message
$args = array(
$target->getUserText(), $from, $s->rev_id,
- $wgLang->timeanddate( wfTimestamp( TS_MW, $s->rev_timestamp ), true ),
- $current->getId(), $wgLang->timeanddate( $current->getTimestamp() )
+ $wgContLang->timeanddate( wfTimestamp( TS_MW, $s->rev_timestamp ) ),
+ $current->getId(), $wgContLang->timeanddate( $current->getTimestamp() )
);
$summary = wfMsgReplaceArgs( $summary, $args );