Fixed some doxygen warnings and documented a little bit
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 21 Mar 2010 14:55:32 +0000 (14:55 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 21 Mar 2010 14:55:32 +0000 (14:55 +0000)
maintenance/dumpUploads.php

index c8f1667..0bc4110 100644 (file)
@@ -64,10 +64,9 @@ By default, outputs relative paths against the parent directory of \$wgUploadDir
        }
 
        /**
-        * Fetch a list of all or used images from a particular image source.
-        * @param string $table
-        * @param string $directory Base directory where files are located
-        * @param bool $shared true to pass shared-dir settings to hash func
+        * Fetch a list of used images from a particular image source.
+        *
+        * @param $shared Boolean: true to pass shared-dir settings to hash func
         */
        function fetchUsed( $shared ) {
                $dbr = wfGetDB( DB_SLAVE );
@@ -86,6 +85,11 @@ By default, outputs relative paths against the parent directory of \$wgUploadDir
                $dbr->freeResult( $result );
        }
 
+       /**
+        * Fetch a list of all images from a particular image source.
+        *
+        * @param $shared Boolean: true to pass shared-dir settings to hash func
+        */
        function fetchLocal( $shared ) {
                $dbr = wfGetDB( DB_SLAVE );
                $result = $dbr->select( 'image',