Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -154,6 +154,7 @@ |
155 | 155 | $data['variantarticlepath'] = $GLOBALS['wgVariantArticlePath']; |
156 | 156 | $data['server'] = $GLOBALS['wgServer']; |
157 | 157 | $data['wikiid'] = wfWikiID(); |
| 158 | + $data['time'] = wfTimestamp( TS_ISO_8601, time() ); |
158 | 159 | |
159 | 160 | return $this->getResult()->addValue( 'query', $property, $data ); |
160 | 161 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -799,6 +799,7 @@ |
800 | 800 | descriptionurl |
801 | 801 | * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS |
802 | 802 | * (bug 22061) API: add prop=headitems to action=parse |
| 803 | +* (bug 22240) - API: include time in siteinfo |
803 | 804 | |
804 | 805 | === Languages updated in 1.16 === |
805 | 806 | |