User:Alexis Jazz/EditNoticesOnMobile

When it takes an unpaid volunteer less than a day to do client-side what a team of paid WMF-developers couldn't accomplish on their end in more than 3 years (maybe 5) despite the community begging them to do it. Which caused the community to beg them to do it.. again. Yeah, there's absolutely no chasm between the WMF/developers and the community.

Do not use script-installer! Script-installer uses importScript which is unavailable on mobile.

Some historical background: in a very limited sense, EditNoticesOnMobile could be considered a kind-of spinoff from Bawl. The projects don't share a lot of code but I had already figured out how to display an edit notice for that project. Admittedly, this explains in part how the initial version of EditNoticesOnMobile could have been written in a day.

Where do I report feature requests and bugs?
On the talk page. Please ping me if you want a quick response.

How do I install this wiki-wide for all users?
First copy the contents of User:Alexis Jazz/EditNoticesOnMobile.js to MediaWiki:Gadget-EditNoticesOnMobile.js on your wiki.

As a gadget
Users will be able to turn off the script in their preferences. (if they are logged in) EditNoticesOnMobile supports both mobile and desktop Minerva.
 * Create MediaWiki:Gadget-EditNoticesOnMobile with for example
 * Add this line in a relevant section in MediaWiki:Gadgets-definition:

Desktop Minerva
Just FYI, nobody uses desktop Minerva.
 * Copy contents of User:Alexis Jazz/EditNoticesOnMobile-desktop.js to MediaWiki:Gadget-EditNoticesOnMobile-desktop.js on your wiki.
 * Create MediaWiki:Gadget-EditNoticesOnMobile-desktop with for example
 * Add this line in a relevant section in MediaWiki:Gadgets-definition:

In Mobile.js
Add  to MediaWiki:Mobile.js. Users won't be able to turn the script off.

You need to be an interface administrator to install a script for all users.

Test links

 * Betacommons User talk:
 * Betacommons User: (with nopopupnotice class)
 * enwiki TestEN
 * enwiki Joe Biden
 * enwiki WP:HD
 * enwiki WP:Sandbox