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