Wikimedia
Fix Mediawiki maintenance script protect.php to use parameters --user and --reason
In this task you will make a two-line change to fix a bug with the protect.php
maintenance script in Mediawiki.
Usernames passed to maintenance/protect.php via --user or -u are ignored and replaced by default "maintenance script", same for --reason and -r (which is always left empty).
The required code changes are listed in the description of the Phabricator task. You will need to submit a patch to Gerrit. Read https://www.mediawiki.org/wiki/Gerrit for more details on submitting your code and the review process.
Please claim the task in Phabricator when you claim this task:
Task tags
Students who completed this task
Filip