Followup r92396, add help urls for most of the core (non query) modules
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index b101ecc..7c95f99 100644 (file)
@@ -58,7 +58,7 @@ class ApiUpload extends ApiBase {
                $request = $this->getMain()->getRequest();
                // Add the uploaded file to the params array
                $this->mParams['file'] = $request->getFileName( 'file' );
-               
+
                // Copy the session key to the file key, for backward compatibility.
                if( !$this->mParams['filekey'] && $this->mParams['sessionkey'] ) {
                        $this->mParams['filekey'] = $this->mParams['sessionkey'];
@@ -562,6 +562,10 @@ class ApiUpload extends ApiBase {
                );
        }
 
+       public function getHelpUrls() {
+               return 'http://www.mediawiki.org/wiki/API:Upload';
+       }
+
        public function getVersion() {
                return __CLASS__ . ': $Id$';
        }