X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=b631005f5f8816b636539329ecf74f478403f54b;hb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9;hp=3bde81ef314fd939e8fdaecf449e7da4ed20ce7b;hpb=cb0486fe0cb8bebd95fec3fd1f173fe46bc038db;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; -