X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=b631005f5f8816b636539329ecf74f478403f54b;hb=c1e6d8722083b5fee202e7651a2d7c51e696f481;hp=3bde81ef314fd939e8fdaecf449e7da4ed20ce7b;hpb=1d9c11aba4b2b91018db373bfb618ee24a2eeac5;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pageExists.php b/maintenance/pageExists.php index 3bde81ef31..b631005f5f 100644 --- a/maintenance/pageExists.php +++ b/maintenance/pageExists.php @@ -27,7 +27,7 @@ require_once __DIR__ . '/Maintenance.php'; class PageExists extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Report whether a specific page exists"; + $this->addDescription( 'Report whether a specific page exists' ); $this->addArg( 'title', 'Page title to check whether it exists' ); } @@ -51,4 +51,3 @@ class PageExists extends Maintenance { $maintClass = "PageExists"; require_once RUN_MAINTENANCE_IF_MAIN; -