More documentation

Remove trailing whitespace
This commit is contained in:
Sam Reed 2011-03-07 14:59:41 +00:00
parent 0e38c2cdce
commit 89656cc42c
3 changed files with 18 additions and 8 deletions

View file

@ -113,8 +113,6 @@ class ApiFileRevert extends ApiBase {
}
}
public function mustBePosted() {
return true;
}

View file

@ -135,6 +135,13 @@ class ApiMove extends ApiBase {
$this->getResult()->addValue( null, $this->getModuleName(), $r );
}
/**
* @param Title $fromTitle
* @param Title $toTitle
* @param $reason
* @param $noredirect
* @return array
*/
public function moveSubpages( $fromTitle, $toTitle, $reason, $noredirect ) {
$retval = array();
$success = $fromTitle->moveSubpages( $toTitle, true, $reason, !$noredirect );

View file

@ -18,6 +18,11 @@ class LocalRepo extends FSRepo {
var $fileFromRowFactory = array( 'LocalFile', 'newFromRow' );
var $oldFileFromRowFactory = array( 'OldLocalFile', 'newFromRow' );
/**
* @throws MWException
* @param $row
* @return File
*/
function newFileFromRow( $row ) {
if ( isset( $row->img_name ) ) {
return call_user_func( $this->fileFromRowFactory, $row, $this );