Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6284
time.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:54 PM
2014-11-21 22:54:11 (UTC+0)
Size
515 B
Referenced Files
None
Subscribers
None
time.patch
View Options
Index: includes/api/ApiQuerySiteinfo.php
===================================================================
--- includes/api/ApiQuerySiteinfo.php (revision 61408)
+++ includes/api/ApiQuerySiteinfo.php (working copy)
@@ -154,6 +154,7 @@
$data['variantarticlepath'] = $GLOBALS['wgVariantArticlePath'];
$data['server'] = $GLOBALS['wgServer'];
$data['wikiid'] = wfWikiID();
+ $data['time'] = wfTimestamp( TS_ISO_8601, time() );
return $this->getResult()->addValue( 'query', $property, $data );
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5830
Default Alt Text
time.patch (515 B)
Attached To
Mode
T24240: API: include time in siteinfo
Attached
Detach File
Event Timeline
Log In to Comment