X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=maintenance%2Fundelete.php;h=861f5ed06cd480427398712d20e9fcc2343b50d8;hb=9a3a412f86ba2568bdf85f9c5def51bdb422032d;hp=71b4de1e40fc4623a76c15d2180f512a9de33019;hpb=103291b11e8af8361ce0cd19d430dc3cf3d56192;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' );