From: Rob Church Date: Tue, 28 Aug 2007 15:37:31 +0000 (+0000) Subject: (bug 11094) Update API help for 'siteinfo' - based on a patch by VasilievVV X-Git-Tag: 1.31.0-rc.0~51621 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=d98d9cc1375b7e7c46c93d16b4777ebae43ccd8a;p=lhc%2Fweb%2Fwiklou.git (bug 11094) Update API help for 'siteinfo' - based on a patch by VasilievVV --- diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 0a1245e9f9..caf444e8c7 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -207,11 +207,12 @@ class ApiQuerySiteinfo extends ApiQueryBase { 'Which sysinfo properties to get:', ' "general" - Overall system information', ' "namespaces" - List of registered namespaces (localized)', - ' "interwikimap" - Return interwiki map (optionally filtered)', - ' "dbrepllag" - Returns DB server with the highest replication lag', + ' "statistics" - Returns site statistics', + ' "interwikimap" - Returns interwiki map (optionally filtered)', + ' "dbrepllag" - Returns database server with the highest replication lag', ), 'filteriw' => 'Return only local or only nonlocal entries of the interwiki map', - 'showalldb' => 'List all DB servers, not just the one lagging the most', + 'showalldb' => 'List all database servers, not just the one lagging the most', ); } @@ -221,7 +222,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { protected function getExamples() { return array( - 'api.php?action=query&meta=siteinfo&siprop=general|namespaces', + 'api.php?action=query&meta=siteinfo&siprop=general|namespaces|statistics', 'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local', 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb', ); @@ -230,5 +231,4 @@ class ApiQuerySiteinfo extends ApiQueryBase { public function getVersion() { return __CLASS__ . ': $Id$'; } -} - +} \ No newline at end of file