Wikimedia
Add a confirmation button to "Mark all pages as visited" on MediaWiki's Watchlist and update via ajax
The student will need to add JavaScript code to MediaWiki's Special:Watchlist page that adds a confirmation prompt to the "Mark all pages as visited" button, performs the action via ajax, and then updates the CSS classes in the UI. A similar script is linked in the Phabricator task. You will need to integrate it with MediaWiki's ResourceLoader system as well as fit our code conventions.
Patches should be submitted in Gerrit to the MediaWiki core repository. See https://phabricator.wikimedia.org/T150045 for more details.
Task tags
Students who completed this task
Geoffrey Mon