X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fparse.php;h=17a8d2ebf4f0ba58aaf2e6f6ed4b0aaede2ed653;hb=3198421632712b2a389eec5f222fd1c344ea74fc;hp=d6559657cbc28f86c5d99498483cca28b227cc94;hpb=72c606830035a41ec7d862504be31d7efac61d07;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/parse.php b/maintenance/parse.php index d6559657cb..17a8d2ebf4 100644 --- a/maintenance/parse.php +++ b/maintenance/parse.php @@ -61,7 +61,7 @@ class CLIParser extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Parse a given wikitext"; + $this->addDescription( 'Parse a given wikitext' ); $this->addOption( 'title', 'Title name for the given wikitext (Default: \'CLIParser\')', @@ -73,7 +73,7 @@ class CLIParser extends Maintenance { public function execute() { $this->initParser(); - print $this->render( $this->WikiText() ); + print $this->render( $this->Wikitext() ); } /**