X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fedit.php;h=3609cf2249d613c0ecda1893720f057a5092bbc3;hb=0ae01716c36bd03192a6dc79816beee8a0a74fa5;hp=d4a7befd758b0378c867065bedc4636df350cf45;hpb=95e140cb71a8733d6e6cec9138908d00e192e93c;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" ); }