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