r63999 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63998‎ | r63999 | r64000 >
Date:14:55, 21 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings and documented a little bit
Modified paths:
  • /trunk/phase3/maintenance/dumpUploads.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/dumpUploads.php
@@ -64,10 +64,9 @@
6565 }
6666
6767 /**
68 - * Fetch a list of all or used images from a particular image source.
69 - * @param string $table
70 - * @param string $directory Base directory where files are located
71 - * @param bool $shared true to pass shared-dir settings to hash func
 68+ * Fetch a list of used images from a particular image source.
 69+ *
 70+ * @param $shared Boolean: true to pass shared-dir settings to hash func
7271 */
7372 function fetchUsed( $shared ) {
7473 $dbr = wfGetDB( DB_SLAVE );
@@ -86,6 +85,11 @@
8786 $dbr->freeResult( $result );
8887 }
8988
 89+ /**
 90+ * Fetch a list of all images from a particular image source.
 91+ *
 92+ * @param $shared Boolean: true to pass shared-dir settings to hash func
 93+ */
9094 function fetchLocal( $shared ) {
9195 $dbr = wfGetDB( DB_SLAVE );
9296 $result = $dbr->select( 'image',

Status & tagging log