Hi Otheus,
On Mon, 2019-09-16 at 21:58 +0200, Otheus wrote:
REL 1_31 introduced 'mwdebug' option in Maintenance.php (in the code it mentions that --debug was taken by some script). The code incorrectly adds the option via addOption() by setting the 4th argument to true (takes an argument). This should be false. At least, the rest of the code is clear, and so is the intent: there is no option to be taken.
https://phabricator.wikimedia.org/source/mediawiki/browse/REL1_31/maintenanc...
Thanks for finding this. Can you please create a bug report? https://www.mediawiki.org/wiki/How_to_report_a_bug
Thanks! andre