X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=6a5654f52d7ede9e7d4380059e038200cd1b0416;hb=9dcd12714e1dd761a62d68520ea6f4a370b4b735;hp=dc9bbdacabc406a4e34b7abdda12be4096cb5a22;hpb=1a21a63d52b9ebf940cd35f041d675d39c9d474a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pageExists.php b/maintenance/pageExists.php index dc9bbdacab..6a5654f52d 100644 --- a/maintenance/pageExists.php +++ b/maintenance/pageExists.php @@ -32,11 +32,10 @@ class PageExists extends Maintenance { } public function execute() { - $titleArg = $this->getArg(); + $titleArg = $this->getArg( 0 ); $title = Title::newFromText( $titleArg ); $pageExists = $title && $title->exists(); - $text = ''; $code = 0; if ( $pageExists ) { $text = "{$title} exists.";