X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fedit.php;h=3609cf2249d613c0ecda1893720f057a5092bbc3;hb=2501d1dedfbdaba981cea49ff7b67fda0926d822;hp=d4a7befd758b0378c867065bedc4636df350cf45;hpb=f35af6b719bd4b5c1119d5926daf69e8304e37d9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/edit.php b/maintenance/edit.php index d4a7befd75..3609cf2249 100644 --- a/maintenance/edit.php +++ b/maintenance/edit.php @@ -71,7 +71,7 @@ class EditCLI extends Maintenance { $wgUser->addToDatabase(); } - $title = Title::newFromText( $this->getArg() ); + $title = Title::newFromText( $this->getArg( 0 ) ); if ( !$title ) { $this->fatalError( "Invalid title" ); }