'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',
);
}
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',
);
public function getVersion() {
return __CLASS__ . ': $Id$';
}
-}
-
+}
\ No newline at end of file