Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -207,11 +207,12 @@ |
208 | 208 | 'Which sysinfo properties to get:', |
209 | 209 | ' "general" - Overall system information', |
210 | 210 | ' "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', |
213 | 214 | ), |
214 | 215 | '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', |
216 | 217 | ); |
217 | 218 | } |
218 | 219 | |
— | — | @@ -221,7 +222,7 @@ |
222 | 223 | |
223 | 224 | protected function getExamples() { |
224 | 225 | return array( |
225 | | - 'api.php?action=query&meta=siteinfo&siprop=general|namespaces', |
| 226 | + 'api.php?action=query&meta=siteinfo&siprop=general|namespaces|statistics', |
226 | 227 | 'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local', |
227 | 228 | 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb', |
228 | 229 | ); |
— | — | @@ -230,5 +231,4 @@ |
231 | 232 | public function getVersion() { |
232 | 233 | return __CLASS__ . ': $Id$'; |
233 | 234 | } |
234 | | -} |
235 | | - |
| 235 | +} |
\ No newline at end of file |