Wikimedia
Use jQuery.suggestions to add reason suggestions to block/delete/protect forms
It would be a benefit from having live suggestions while typing the reason for protecting/deleting/blocking on the provided forms.
The script at w:pt:MediaWiki:Gadget-SysopSuggestions.js provides this feature. It takes the values from
[[MediaWiki:Protect-dropdown]]
[[MediaWiki:Revdelete-reason-dropdown]]
[[MediaWiki:Filedelete-reason-dropdown]]
[[MediaWiki:Ipbreason-dropdown]]
[[MediaWiki:Deletereason-dropdown]]
which are already available in the form and then filter the list to display only those items which match what the user has typed.
Your task is to take at least one of the mentioned forms above and implement the suggestions for this form. As the first implementation of such a module is the bigger part of this task you should already consider to make it as modular as possible to re-use it on the other forms later, too (or in scope of this task, too, if you want).
Task tags
Students who completed this task
Filip