r46744 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46743‎ | r46744 | r46745 >
Date:23:17, 2 February 2009
Author:catrope
Status:ok
Tags:
Comment:
(bug 17327) Normalize API help texts: remove quotes
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryInfo.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -390,18 +390,18 @@
391391 return array(
392392 'prop' => array(
393393 'Which sysinfo properties to get:',
394 - ' "general" - Overall system information',
395 - ' "namespaces" - List of registered namespaces and their canonical names',
396 - ' "namespacealiases" - List of registered namespace aliases',
397 - ' "specialpagealiases" - List of special page aliases',
398 - ' "magicwords" - List of magic words and their aliases',
399 - ' "statistics" - Returns site statistics',
400 - ' "interwikimap" - Returns interwiki map (optionally filtered)',
401 - ' "dbrepllag" - Returns database server with the highest replication lag',
402 - ' "usergroups" - Returns user groups and the associated permissions',
403 - ' "extensions" - Returns extensions installed on the wiki',
404 - ' "fileextensions" - Returns list of file extensions allowed to be uploaded',
405 - ' "rightsinfo" - Returns wiki rights (license) information if available',
 394+ ' general - Overall system information',
 395+ ' namespaces - List of registered namespaces and their canonical names',
 396+ ' namespacealiases - List of registered namespace aliases',
 397+ ' specialpagealiases - List of special page aliases',
 398+ ' magicwords - List of magic words and their aliases',
 399+ ' statistics - Returns site statistics',
 400+ ' interwikimap - Returns interwiki map (optionally filtered)',
 401+ ' dbrepllag - Returns database server with the highest replication lag',
 402+ ' usergroups - Returns user groups and the associated permissions',
 403+ ' extensions - Returns extensions installed on the wiki',
 404+ ' fileextensions - Returns list of file extensions allowed to be uploaded',
 405+ ' rightsinfo - Returns wiki rights (license) information if available',
406406 ),
407407 'filteriw' => 'Return only local or only nonlocal entries of the interwiki map',
408408 'showalldb' => 'List all database servers, not just the one lagging the most',
Index: trunk/phase3/includes/api/ApiQueryInfo.php
@@ -539,9 +539,9 @@
540540 return array (
541541 'prop' => array (
542542 'Which additional properties to get:',
543 - ' "protection" - List the protection level of each page',
544 - ' "talkid" - The page ID of the talk page for each non-talk page',
545 - ' "subjectid" - The page ID of the parent page for each talk page'
 543+ ' protection - List the protection level of each page',
 544+ ' talkid - The page ID of the talk page for each non-talk page',
 545+ ' subjectid - The page ID of the parent page for each talk page'
546546 ),
547547 'token' => 'Request a token to perform a data-modifying action on a page',
548548 );

Status & tagging log