X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FaddSite.php;h=d564c4d54cb9b1d434b29671bfc66bbbeb4cf24b;hb=3a7be6fd4959c8a925b38ef7e928d41ae1daa0c7;hp=8fb0d68a373963013ecc9889a1402b87ca911c7c;hpb=cfd56e52d96e7c65215a4d9d2f10962794c67f88;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/addSite.php b/maintenance/addSite.php index 8fb0d68a37..d564c4d54c 100644 --- a/maintenance/addSite.php +++ b/maintenance/addSite.php @@ -21,13 +21,13 @@ class AddSite extends Maintenance { $this->addArg( 'globalid', 'The global id of the site to add, e.g. "wikipedia".', true ); $this->addArg( 'group', 'In which group this site should be sorted in.', true ); - $this->addOption( 'language', 'The language code of the site, e.g. "de".' ); - $this->addOption( 'interwiki-id', 'The interwiki ID of the site.' ); - $this->addOption( 'navigation-id', 'The navigation ID of the site.' ); + $this->addOption( 'language', 'The language code of the site, e.g. "de".', false, true ); + $this->addOption( 'interwiki-id', 'The interwiki ID of the site.', false, true ); + $this->addOption( 'navigation-id', 'The navigation ID of the site.', false, true ); $this->addOption( 'pagepath', 'The URL to pages of this site, e.g.' . - ' https://example.com/wiki/\$1.' ); - $this->addOption( 'filepath', 'The URL to files of this site, e.g. https://example - .com/w/\$1.' ); + ' https://example.com/wiki/\$1.', false, true ); + $this->addOption( 'filepath', 'The URL to files of this site, e.g. https://example' . + '.com/w/\$1.', false, true ); parent::__construct(); }