r25238 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25237‎ | r25238 | r25239 >
Date:15:37, 28 August 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 11094) Update API help for 'siteinfo' - based on a patch by VasilievVV
Modified paths:
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -207,11 +207,12 @@
208208 'Which sysinfo properties to get:',
209209 ' "general" - Overall system information',
210210 ' "namespaces" - List of registered namespaces (localized)',
211 - ' "interwikimap" - Return interwiki map (optionally filtered)',
212 - ' "dbrepllag" - Returns DB server with the highest replication lag',
 211+ ' "statistics" - Returns site statistics',
 212+ ' "interwikimap" - Returns interwiki map (optionally filtered)',
 213+ ' "dbrepllag" - Returns database server with the highest replication lag',
213214 ),
214215 'filteriw' => 'Return only local or only nonlocal entries of the interwiki map',
215 - 'showalldb' => 'List all DB servers, not just the one lagging the most',
 216+ 'showalldb' => 'List all database servers, not just the one lagging the most',
216217 );
217218 }
218219
@@ -221,7 +222,7 @@
222223
223224 protected function getExamples() {
224225 return array(
225 - 'api.php?action=query&meta=siteinfo&siprop=general|namespaces',
 226+ 'api.php?action=query&meta=siteinfo&siprop=general|namespaces|statistics',
226227 'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local',
227228 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb',
228229 );
@@ -230,5 +231,4 @@
231232 public function getVersion() {
232233 return __CLASS__ . ': $Id$';
233234 }
234 -}
235 -
 235+}
\ No newline at end of file

Follow-up revisions

RevisionCommit summaryAuthorDate
r25303Merged revisions 25215-25302 via svnmerge from...david07:10, 30 August 2007

Status & tagging log