X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fparse.php;h=17a8d2ebf4f0ba58aaf2e6f6ed4b0aaede2ed653;hb=5b6883f63ac2155f2434233b8a7eddbe8f67afb4;hp=d6559657cbc28f86c5d99498483cca28b227cc94;hpb=266dbe55e8c752654a1041a77063ae5d389c2f75;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() ); } /**