X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2Fmwdocgen.php;h=35fca8e0508e8d836f1b06156352c0e4139dc4e7;hb=e2a7988178698b4369c7963d20610ee622db3ee7;hp=49eae4a539a0b44885eb0f44fa1b8d09095102ff;hpb=17242944365d63063b41386c2b2dcc0bef406d7d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdocgen.php b/maintenance/mwdocgen.php index 49eae4a539..35fca8e050 100644 --- a/maintenance/mwdocgen.php +++ b/maintenance/mwdocgen.php @@ -46,7 +46,7 @@ class MWDocGen extends Maintenance { */ public function __construct() { parent::__construct(); - $this->mDescription = 'Build doxygen documentation'; + $this->addDescription( 'Build doxygen documentation' ); $this->addOption( 'doxygen', 'Path to doxygen', @@ -86,8 +86,7 @@ class MWDocGen extends Maintenance { $this->output = $this->getOption( 'output', "$IP/docs" ); - $this->inputFilter = wfShellWikiCmd( - $IP . '/maintenance/mwdoc-filter.php' ); + $this->inputFilter = wfShellWikiCmd( $IP . '/maintenance/mwdoc-filter.php' ); $this->template = $IP . '/maintenance/Doxyfile'; $this->excludes = array( 'vendor',