X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fundelete.php;h=861f5ed06cd480427398712d20e9fcc2343b50d8;hb=1f2706b49939bfc85ec5abc8ccc24aacd938eed0;hp=71b4de1e40fc4623a76c15d2180f512a9de33019;hpb=bacc11eb30ddf01624d5448f432b96afdae67c28;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/undelete.php b/maintenance/undelete.php index 71b4de1e40..861f5ed06c 100644 --- a/maintenance/undelete.php +++ b/maintenance/undelete.php @@ -26,7 +26,7 @@ require_once __DIR__ . '/Maintenance.php'; class Undelete extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Undelete a page"; + $this->addDescription( 'Undelete a page' ); $this->addOption( 'user', 'The user to perform the undeletion', false, true, 'u' ); $this->addOption( 'reason', 'The reason to undelete', false, true, 'r' ); $this->addArg( 'pagename', 'Page to undelete' );