ws-only cleanup
authorMark A. Hershberger <mah@users.mediawiki.org>
Mon, 22 Feb 2010 03:34:56 +0000 (03:34 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Mon, 22 Feb 2010 03:34:56 +0000 (03:34 +0000)
includes/api/ApiMain.php
includes/api/ApiMove.php

index b450934..f83a052 100644 (file)
@@ -400,7 +400,7 @@ class ApiMain extends ApiBase {
                        $this->getResult()->addValue( null, 'requestid', $requestid );
 
                $params = $this->extractRequestParams();
-                       
+
                $this->mShowVersions = $params['version'];
                $this->mAction = $params['action'];
 
@@ -584,7 +584,7 @@ class ApiMain extends ApiBase {
                        '',
                );
        }
-       
+
     public function getPossibleErrors() {
                return array_merge( parent::getPossibleErrors(), array(
                        array( 'readonlytext' ),
index fca1e5d..2aa20b4 100644 (file)
@@ -68,7 +68,7 @@ class ApiMove extends ApiBase {
                if ( !$toTitle )
                        $this->dieUsageMsg( array( 'invalidtitle', $params['to'] ) );
                $toTalk = $toTitle->getTalkPage();
-               
+
                if ( $toTitle->getNamespace() == NS_FILE
                        && !RepoGroup::singleton()->getLocalRepo()->findFile( $toTitle )
                        && wfFindFile( $toTitle ) )
@@ -79,7 +79,7 @@ class ApiMove extends ApiBase {
                                $this->dieUsageMsg( array( 'cantoverwrite-sharedfile' ) );
                        }
                }
-               
+
                // Move the page
                $hookErr = null;
                $retval = $fromTitle->moveTo( $toTitle, true, $params['reason'], !$params['noredirect'] );
@@ -135,7 +135,7 @@ class ApiMove extends ApiBase {
                }
                $this->getResult()->addValue( null, $this->getModuleName(), $r );
        }
-       
+
        public function moveSubpages( $fromTitle, $toTitle, $reason, $noredirect )
        {
                $retval = array();
@@ -218,7 +218,7 @@ class ApiMove extends ApiBase {
                        array( 'sharedfile-exists' ),
                ) );
        }
-       
+
        public function getTokenSalt() {
                return '';
        }