X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=6a5654f52d7ede9e7d4380059e038200cd1b0416;hb=4b7cbbd9980f5ff14a0066ae7992af2793dcabea;hp=dc9bbdacabc406a4e34b7abdda12be4096cb5a22;hpb=577f3d79115173f4dd16bb46f6d0ef2c82b55add;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.";