Wikimedia
MediaWiki API: Make action=checktoken give a warning if token ends in " \" (e.g. Url encoding mistake)
The popular wiki platform MediaWiki has a web service API which is used by various software tools, including automated "bots", to interact with a wiki programmatically.
This task involves modifying ApiCheckToken.php in the mediawiki/core repository to return a helpful warning when the token ends with urldecode(Token:SUFFIX)
. Read https://www.mediawiki.org/wiki/Gerrit for more details on submitting your code and the review process.
Note: The bug report in Phabricator records multiple patches submitted by a user attempting to complete this task. You are welcome to look at these, but they may not be all that helpful.
Please claim the associated bug report in Phabricator when you claim this task.
Task tags
Students who completed this task
Yurii Shnitkovskyi