(bug 17327) Normalize API help texts: remove quotes
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 2 Feb 2009 23:17:07 +0000 (23:17 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 2 Feb 2009 23:17:07 +0000 (23:17 +0000)
includes/api/ApiQueryInfo.php
includes/api/ApiQuerySiteinfo.php

index 062831c..3a0cc78 100644 (file)
@@ -539,9 +539,9 @@ class ApiQueryInfo extends ApiQueryBase {
                return array (
                        'prop' => array (
                                'Which additional properties to get:',
-                               ' "protection"   - List the protection level of each page',
-                               ' "talkid"       - The page ID of the talk page for each non-talk page',
-                               ' "subjectid"     - The page ID of the parent page for each talk page'
+                               ' protection   - List the protection level of each page',
+                               ' talkid       - The page ID of the talk page for each non-talk page',
+                               ' subjectid     - The page ID of the parent page for each talk page'
                        ),
                        'token' => 'Request a token to perform a data-modifying action on a page',
                );
index 49516fc..d277ba0 100644 (file)
@@ -390,18 +390,18 @@ class ApiQuerySiteinfo extends ApiQueryBase {
                return array(
                        'prop' => array(
                                'Which sysinfo properties to get:',
-                               ' "general"      - Overall system information',
-                               ' "namespaces"   - List of registered namespaces and their canonical names',
-                               ' "namespacealiases" - List of registered namespace aliases',
-                               ' "specialpagealiases" - List of special page aliases',
-                               ' "magicwords"   - List of magic words and their aliases',
-                               ' "statistics"   - Returns site statistics',
-                               ' "interwikimap" - Returns interwiki map (optionally filtered)',
-                               ' "dbrepllag"    - Returns database server with the highest replication lag',
-                               ' "usergroups"   - Returns user groups and the associated permissions',
-                               ' "extensions"   - Returns extensions installed on the wiki',
-                               ' "fileextensions" - Returns list of file extensions allowed to be uploaded',
-                               ' "rightsinfo"   - Returns wiki rights (license) information if available',
+                               ' general      - Overall system information',
+                               ' namespaces   - List of registered namespaces and their canonical names',
+                               ' namespacealiases - List of registered namespace aliases',
+                               ' specialpagealiases - List of special page aliases',
+                               ' magicwords   - List of magic words and their aliases',
+                               ' statistics   - Returns site statistics',
+                               ' interwikimap - Returns interwiki map (optionally filtered)',
+                               ' dbrepllag    - Returns database server with the highest replication lag',
+                               ' usergroups   - Returns user groups and the associated permissions',
+                               ' extensions   - Returns extensions installed on the wiki',
+                               ' fileextensions - Returns list of file extensions allowed to be uploaded',
+                               ' rightsinfo   - Returns wiki rights (license) information if available',
                        ),
                        'filteriw' =>  'Return only local or only nonlocal entries of the interwiki map',
                        'showalldb' => 'List all database servers, not just the one lagging the most',