Wikimedia
Move client side code inside initEditLink in resources/skins.minerva.scripts/init.js to server
MediaWiki has an extension called MobileFrontend which uses a skin called Minerva-Neue. You can see them in action when you go to (for example) https://m.mediawiki.org/ instead of https://www.mediawiki.org/ (note the "m" instead of "www" in the URL).
See the Phabricator task for more information, the relevant code, and some background!
Your task is to
- move the wgMinervaUserBlockInfo check from client to server
- move the wgIsProbablyEditable check from client to server
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.
Task tags
Students who completed this task
arcaynia