r49699 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49698‎ | r49699 | r49700 >
Date:14:49, 21 April 2009
Author:catrope
Status:ok
Tags:
Comment:
API: (bug 18546) Added timestamp of new revision to action=edit output
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiEditPage.php
@@ -268,6 +268,8 @@
269269 {
270270 $r['oldrevid'] = intval($oldRevId);
271271 $r['newrevid'] = intval($newRevId);
 272+ $r['newtimestamp'] = wfTimestamp(TS_ISO_8601,
 273+ $newArticle->getTimestamp());
272274 }
273275 break;
274276 default:
Index: trunk/phase3/RELEASE-NOTES
@@ -414,6 +414,7 @@
415415 * Add parentid to prop=revisions output
416416 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
417417 when the user is blocked
 418+* (bug 18546) Added timestamp of new revision to action=edit output
418419
419420 === Languages updated in 1.15 ===
420421

Status & tagging log