![]() | |
Description | It gives you edit notices.. on mobile |
---|---|
Author(s) | User:Alexis Jazz |
Status | It works |
Updated | July 3, 2022 |
Skin support | minerva |
Source | User:Alexis Jazz/EditNoticesOnMobile.js |
![]() | This user subpage is currently inactive and is retained for historical reference. If you want to revive discussion regarding the subject, you might try contacting the user in question or seeking broader input via a forum such as the village pump. This page lives on at Wikipedia:EditNoticesOnMobile minus some sassy comments. |
![]() | Per the Showing Editnotices to mobile editors RfC this gadget will soon be deployed on English Wikipedia. |
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.
![]() |
On the talk page. Please ping me if you want a quick response.
Do not use script-installer! Script-installer uses importScript() which is unavailable on mobile. Add this to m:Special:MyPage/global.js to load the script globally:
if ( mw.config.get('skin') == 'minerva' ) {mw.loader.load('//en.wikipedia.org/?title=User:Alexis_Jazz/EditNoticesOnMobile.js&action=raw&ctype=text/javascript');}
To load the script on a specific Wikimedia project, add the line to Special:MyPage/minerva.js on the project in question instead.
First copy the contents of User:Alexis Jazz/EditNoticesOnMobile.js to MediaWiki:Gadget-EditNoticesOnMobile.js on your wiki.
Enable [[Wikipedia:Editnotice|editnotices]] on the mobile site. ([[MediaWiki:Gadget-EditNoticesOnMobile.js|source]])
EditNoticesOnMobile[ResourceLoader|targets=mobile|skins=minerva|supportsUrlLoad=true|default]|EditNoticesOnMobile.js
Users will be able to turn off the script in their preferences. (if they are logged in) EditNoticesOnMobile supports both mobile and desktop Minerva.
Just FYI, nobody uses desktop Minerva.
Enable [[Wikipedia:Editnotice|editnotices]] on desktop Minerva. ([[MediaWiki:Gadget-EditNoticesOnMobile-desktop.js|source]])
EditNoticesOnMobile-desktop[ResourceLoader|targets=desktop|skins=minerva|actions=edit|supportsUrlLoad=true|default]|EditNoticesOnMobile-desktop.js
Add
mw.loader.load(mw.config.get('wgServer')+'/?title=MediaWiki:Gadget-EditNoticesOnMobile.js&action=raw&ctype=text/javascript');
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.
![]() | |
Description | It gives you edit notices.. on mobile |
---|---|
Author(s) | User:Alexis Jazz |
Status | It works |
Updated | July 3, 2022 |
Skin support | minerva |
Source | User:Alexis Jazz/EditNoticesOnMobile.js |
![]() | This user subpage is currently inactive and is retained for historical reference. If you want to revive discussion regarding the subject, you might try contacting the user in question or seeking broader input via a forum such as the village pump. This page lives on at Wikipedia:EditNoticesOnMobile minus some sassy comments. |
![]() | Per the Showing Editnotices to mobile editors RfC this gadget will soon be deployed on English Wikipedia. |
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.
![]() |
On the talk page. Please ping me if you want a quick response.
Do not use script-installer! Script-installer uses importScript() which is unavailable on mobile. Add this to m:Special:MyPage/global.js to load the script globally:
if ( mw.config.get('skin') == 'minerva' ) {mw.loader.load('//en.wikipedia.org/?title=User:Alexis_Jazz/EditNoticesOnMobile.js&action=raw&ctype=text/javascript');}
To load the script on a specific Wikimedia project, add the line to Special:MyPage/minerva.js on the project in question instead.
First copy the contents of User:Alexis Jazz/EditNoticesOnMobile.js to MediaWiki:Gadget-EditNoticesOnMobile.js on your wiki.
Enable [[Wikipedia:Editnotice|editnotices]] on the mobile site. ([[MediaWiki:Gadget-EditNoticesOnMobile.js|source]])
EditNoticesOnMobile[ResourceLoader|targets=mobile|skins=minerva|supportsUrlLoad=true|default]|EditNoticesOnMobile.js
Users will be able to turn off the script in their preferences. (if they are logged in) EditNoticesOnMobile supports both mobile and desktop Minerva.
Just FYI, nobody uses desktop Minerva.
Enable [[Wikipedia:Editnotice|editnotices]] on desktop Minerva. ([[MediaWiki:Gadget-EditNoticesOnMobile-desktop.js|source]])
EditNoticesOnMobile-desktop[ResourceLoader|targets=desktop|skins=minerva|actions=edit|supportsUrlLoad=true|default]|EditNoticesOnMobile-desktop.js
Add
mw.loader.load(mw.config.get('wgServer')+'/?title=MediaWiki:Gadget-EditNoticesOnMobile.js&action=raw&ctype=text/javascript');
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.