MyWiki:MakeMobileCollapsible
Jump to navigation
Jump to search
| Description | Enables collapsible templates on the mobile site |
|---|---|
| Author | User:Alexis Jazz |
| Status | Working |
| Updated | September 3, 2023 |
| Skins | minerva |
| Source | User:Alexis Jazz/MakeMobileCollapsible.js |
This gadget was made to enable collapsible templates on the mobile site. A proposal to make this gadget available on English Wikipedia has been accepted.
Installation on other projects
[edit source]As a gadget
[edit source]- Copy the contents of User:Alexis Jazz/MakeMobileCollapsible.js to MediaWiki:Gadget-MakeMobileCollapsible.js on your wiki.
- Create MediaWiki:Gadget-MakeMobileCollapsible with for example
Enable collapsible templates on the mobile site. ([[MediaWiki:Gadget-MakeMobileCollapsible.js|source]]) - Add this line in a relevant section in MediaWiki:Gadgets-definition:
MakeMobileCollapsible[ResourceLoader|skins=minerva|supportsUrlLoad|default]|MakeMobileCollapsible.js
Users will be able to turn off the script in their preferences. (if they are logged in)
In Mobile.js
[edit source]- Append the contents of User:Alexis Jazz/MakeMobileCollapsible.js 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.