mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
BREAKING CHANGE: Use ISO 8601 for 'ts' in cross-wiki summary.
Bug: T141164 Change-Id: Id0f029dd2fec0197bc01a1103fb569d086dec724
This commit is contained in:
parent
debd9afffd
commit
f845f6cc7b
|
@ -1,8 +1,12 @@
|
||||||
July, 2016
|
July, 2016
|
||||||
-----------
|
-----------
|
||||||
|
* BREAKING CHANGE: In the cross-wiki summary in ApiEchoNotifications,
|
||||||
|
'ts' is now ISO 8601.
|
||||||
* BREAKING CHANGE: JS variables: wgEchoSeenTime now uses ISO 8601, and
|
* BREAKING CHANGE: JS variables: wgEchoSeenTime now uses ISO 8601, and
|
||||||
alert/notice instead of alert/message. wgEchoInitialNotifCount has
|
alert/notice instead of alert/message. wgEchoInitialNotifCount has
|
||||||
been removed.
|
been removed.
|
||||||
|
* ApiEchoMarkSeen is moving to ISO 8601. Adjust your client; see API
|
||||||
|
documentation.
|
||||||
|
|
||||||
April, 2016
|
April, 2016
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -447,7 +447,7 @@ class ApiEchoNotifications extends ApiCrossWikiBase {
|
||||||
$output['sources'] = EchoForeignNotifications::getApiEndpoints( $wikis );
|
$output['sources'] = EchoForeignNotifications::getApiEndpoints( $wikis );
|
||||||
// Add timestamp information
|
// Add timestamp information
|
||||||
foreach ( $output['sources'] as $wiki => &$data ) {
|
foreach ( $output['sources'] as $wiki => &$data ) {
|
||||||
$data['ts'] = $timestampsByWiki[$wiki]->getTimestamp( TS_MW );
|
$data['ts'] = $timestampsByWiki[$wiki]->getTimestamp( TS_ISO_8601 );
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue