Page MenuHomePhabricator

Add an on/off switch for project administrators to temporally disable MediaWiki extensions
Closed, DeclinedPublic


Enable an on/off switch for project administrators so they can temporally disable extensions, if so needed, without making a request at the Phabricator for it.

It could be useful if they're configuring the system messages related to an extension.

Event Timeline

Klein created this task.Oct 5 2019, 10:01 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 5 2019, 10:01 PM

@Klein are you asking for this functionality on Wikimedia sites or on a MediaWiki instance you operate?

Klein added a comment.Jul 25 2020, 3:37 AM

@Legoktm, Wikimedia sites.

Extensions like WikiLove, NewUserMessage, etc. need some MediWiki pages adjusted according to their needs before they operate. If administrators want to work with those pages, they need to do so in only 1 edit or else they risk the malfunction of the said extensions. Either that or they need to ask for help here to disable those and ask again to reenable after the work has been completed. An on/off switch for temporarily disabling them without the need of outside help would be better.

Legoktm closed this task as Declined.Jul 25 2020, 4:36 AM

Gotcha. Unfortunately allowing administrators to toggle extensions on/off is a security risk (imagine if a rogue admin disabled CheckUser) and won't ever be enabled on Wikimedia sites. I would recommend using to test modifications to the configuration of those extensions or asking for help on a forum like m:Tech.

Aklapper renamed this task from Enable on/off switch for MediaWiki extensions to Add an on/off switch for project administrators to temporally disable MediaWiki extensions.Jul 25 2020, 10:42 AM

@Legoktm, to be honest, to me it doesn't look much riskier than the current power admins/interface admins hold. Even then, maybe we could take extra steps like only giving that privilege to crats or a new kind of user.

But you can evaluate it better I think, so I'm agreeing with you.