r50161 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50160‎ | r50161 | r50162 >
Date:07:00, 4 May 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix up r50126: dump $wgDBtype rather than a class name, per CR comment
Modified paths:
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -110,7 +110,7 @@
111111 $data['generator'] = "MediaWiki {$GLOBALS['wgVersion']}";
112112 $data['phpversion'] = phpversion();
113113 $data['phpsapi'] = php_sapi_name();
114 - $data['dbclass'] = get_class($this->getDB());
 114+ $data['dbtype'] = $GLOBALS['wgDBtype'];
115115 $data['dbversion'] = $this->getDB()->getServerVersion();
116116
117117 $svn = SpecialVersion::getSvnRevision( $GLOBALS['IP'] );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50126API: Add PHP and database version to meta=siteinfo outputcatrope13:35, 2 May 2009

Status & tagging log