r78368 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78367‎ | r78368 | r78369 >
Date:11:47, 14 December 2010
Author:catrope
Status:ok
Tags:
Comment:
Improve some of the descriptions added in r68482
Modified paths:
  • /trunk/phase3/includes/api/ApiParse.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryAllimages.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryBlocks.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryCategoryMembers.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryDeletedrevs.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryExtLinksUsage.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryFilearchive.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryLogEvents.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryRecentChanges.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryUserContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php
@@ -571,10 +571,10 @@
572572 ' flags - Adds flags for the edit',
573573 ' timestamp - Adds timestamp of the edit',
574574 ' title - Adds the page title of the edit',
575 - ' ids - Adds the page id, recent changes id and the new and old revision id',
 575+ ' ids - Adds the page ID, recent changes ID and the new and old revision ID',
576576 ' sizes - Adds the new and old page length in bytes',
577577 ' redirect - Tags edit if page is a redirect',
578 - ' patrolled - Tags edits have have been patrolled',
 578+ ' patrolled - Tags edits that have been patrolled',
579579 ' loginfo - Adds log information (logid, logtype, etc) to log entries',
580580 ' tags - Lists tags for the entry',
581581 ),
Index: trunk/phase3/includes/api/ApiParse.php
@@ -468,16 +468,16 @@
469469 'prop' => array(
470470 'Which pieces of information to get',
471471 ' text - Gives the parsed text of the wikitext',
472 - ' langlinks - Gives the langlinks the parsed wikitext',
473 - ' categories - Gives the categories of the parsed wikitext',
474 - ' categorieshtml - Gives the html version of the categories',
475 - ' languageshtml - Gives the html version of the languagelinks',
 472+ ' langlinks - Gives the language links in the parsed wikitext',
 473+ ' categories - Gives the categories in the parsed wikitext',
 474+ ' categorieshtml - Gives the HTML version of the categories',
 475+ ' languageshtml - Gives the HTML version of the language links',
476476 ' links - Gives the internal links in the parsed wikitext',
477477 ' templates - Gives the templates in the parsed wikitext',
478478 ' images - Gives the images in the parsed wikitext',
479479 ' externallinks - Gives the external links in the parsed wikitext',
480480 ' sections - Gives the sections in the parsed wikitext',
481 - ' revid - Adds the revision id of the parsed page',
 481+ ' revid - Adds the revision ID of the parsed page',
482482 ' displaytitle - Adds the title of the parsed wikitext',
483483 ' headitems - Gives items to put in the <head> of the page',
484484 ' headhtml - Gives parsed <head> of the page',
Index: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php
@@ -197,8 +197,8 @@
198198 return array(
199199 'prop' => array(
200200 'What pieces of information to include',
201 - ' ids - Adds the id of page',
202 - ' title - Adds the title and namespace id of the page',
 201+ ' ids - Adds the ID of page',
 202+ ' title - Adds the title and namespace ID of the page',
203203 ' url - Adds the URL used in the page',
204204 ),
205205 'offset' => 'Used for paging. Use the value returned for "continue"',
Index: trunk/phase3/includes/api/ApiQueryDeletedrevs.php
@@ -318,9 +318,9 @@
319319 'limit' => 'The maximum amount of revisions to list',
320320 'prop' => array(
321321 'Which properties to get',
322 - ' revid - Adds the revision id of the deleted revision',
 322+ ' revid - Adds the revision ID of the deleted revision',
323323 ' user - Adds the user who made the revision',
324 - ' userid - Adds the user id whom made the revision',
 324+ ' userid - Adds the user ID whom made the revision',
325325 ' comment - Adds the comment of the revision',
326326 ' parsedcomment - Adds the parsed comment of the revision',
327327 ' minor - Tags if the revision is minor',
Index: trunk/phase3/includes/api/ApiQueryBlocks.php
@@ -272,7 +272,7 @@
273273 'limit' => 'The maximum amount of blocks to list',
274274 'prop' => array(
275275 'Which properties to get',
276 - ' id - Adds the id of the block',
 276+ ' id - Adds the ID of the block',
277277 ' user - Adds the username of the blocked user',
278278 ' by - Adds the username of the blocking admin',
279279 ' timestamp - Adds the timestamp of when the block was given',
Index: trunk/phase3/includes/api/ApiQueryFilearchive.php
@@ -225,7 +225,7 @@
226226 'sha1base36' => 'SHA1 hash of image in base 36 (used in MediaWiki)',
227227 'prop' => array(
228228 'What image information to get:',
229 - ' sha1 - Adds sha1 hash for the image',
 229+ ' sha1 - Adds SHA-1 hash for the image',
230230 ' timestamp - Adds timestamp for the uploaded version',
231231 ' user - Adds user for uploaded the image version',
232232 ' size - Adds the size of the image in bytes',
Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php
@@ -264,8 +264,8 @@
265265 'title' => 'Which category to enumerate (required). Must include Category: prefix',
266266 'prop' => array(
267267 'What pieces of information to include',
268 - ' ids - Adds the page id',
269 - ' title - Adds the title and namespace id of the page',
 268+ ' ids - Adds the page ID',
 269+ ' title - Adds the title and namespace ID of the page',
270270 ' sortkey - Adds the sortkey used for the category',
271271 ' timestamp - Adds the timestamp of when the page was included',
272272 ),
Index: trunk/phase3/includes/api/ApiQueryAllimages.php
@@ -200,12 +200,12 @@
201201 'Which properties to get',
202202 ' timestamp - Adds the timestamp when the image was upload',
203203 ' user - Adds the username of the last uploader',
204 - ' userid - Adds the user id of the last uploader',
 204+ ' userid - Adds the user ID of the last uploader',
205205 ' comment - Adds the comment of the last upload',
206206 ' url - Adds the URL of the image and its description page',
207207 ' size - Adds the size of the image in bytes and its height and width',
208208 ' dimensions - Alias of size',
209 - ' sha1 - Adds the sha1 of the image',
 209+ ' sha1 - Adds the SHA-1 hash of the image',
210210 ' mime - Adds the MIME of the image',
211211 ' thumbmime - Adds the MIME of the tumbnail for the image',
212212 ' archivename - Adds the file name of the archive version for non-latest versions',
Index: trunk/phase3/includes/api/ApiQueryLogEvents.php
@@ -387,11 +387,11 @@
388388 return array(
389389 'prop' => array(
390390 'Which properties to get',
391 - ' ids - Adds the id of the log event',
 391+ ' ids - Adds the ID of the log event',
392392 ' title - Adds the title of the page for the log event',
393393 ' type - Adds the type of log event',
394394 ' user - Adds the user responsible for the log event',
395 - ' userid - Adds the user id who was responsible for the log event',
 395+ ' userid - Adds the user ID who was responsible for the log event',
396396 ' timestamp - Adds the timestamp for the event',
397397 ' comment - Adds the comment of the event',
398398 ' parsedcomment - Adds the parsed comment of the event',
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php
@@ -390,15 +390,15 @@
391391 'What image information to get:',
392392 ' timestamp - Adds timestamp for the uploaded version',
393393 ' user - Adds the user who uploaded the image version',
394 - ' userid - Add the user id that uploaded the image version',
 394+ ' userid - Add the user ID that uploaded the image version',
395395 ' comment - Comment on the version',
396396 ' parsedcomment - Parse the comment on the version',
397397 ' url - Gives URL to the image and the description page',
398398 ' size - Adds the size of the image in bytes and the height and width',
399399 ' dimensions - Alias for size',
400 - ' sha1 - Adds sha1 hash for the image',
401 - ' mime - Adds MIME of the image',
402 - ' thumbmime - Adss MIME of the image thumbnail (requires url)',
 400+ ' sha1 - Adds SHA-1 hash for the image',
 401+ ' mime - Adds MIME type of the image',
 402+ ' thumbmime - Adss MIME type of the image thumbnail (requires url)',
403403 ' metadata - Lists EXIF metadata for the version of the image',
404404 ' archivename - Adds the file name of the archive version for non-latest versions',
405405 ' bitdepth - Adds the bit depth of the version',
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php
@@ -426,8 +426,8 @@
427427 'namespace' => 'Only list contributions in these namespaces',
428428 'prop' => array(
429429 'Include additional pieces of information',
430 - ' ids - Adds the page id and revision id',
431 - ' title - Adds the title and namespace id of the page',
 430+ ' ids - Adds the page ID and revision ID',
 431+ ' title - Adds the title and namespace ID of the page',
432432 ' timestamp - Adds the timestamp of the edit',
433433 ' comment - Adds the comment of the edit',
434434 ' parsedcomment - Adds the parsed comment of the edit',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68482* (bug 23473) - Give description of properties on all modules...reedy19:36, 23 June 2010

Status & tagging log