Page MenuHomePhabricator

Page protection not showing in Nepali Wiki
Closed, ResolvedPublicBUG REPORT


In Nepali Wiki, when you go to protect a page it only show two options: stop unregistered users, and stop everyone except admin. It would be nice to include other protections i.e. template protection. I don't know if its a bug or ??

Event Timeline

This is a misconfiguration at T195557: Enable Template Editor User Group on Nepali Wikipedia.
There's another issue that I would like to confirm if "editprotected" permission is needed for group templateeditor - currently template editor holds that right.

Change 944983 had a related patch set uploaded (by Stang; author: Stang):

[operations/mediawiki-config@master] newiki: Fix templateeditor config

@Stang: Yes newiki has "editprotected" permission. Can you also add: Semi protection, Interface protection, Move protection, Create protection, Upload protection, and Cascade protection (same as the enwiki). Thanks.

All these protections you mentioned has already existed on every sites, I assume, as they are provided by MediaWiki by default.

Yes newiki has "editprotected" permission

My question is that, should template editors hold such permission? On most wiki this permission is hold by sysop only. And once "template protection" is deployed, probably your site need to check is there any pages you could switch from "full protection" to "template protection".

@Stang I think Nepali wiki will benefit from this permission as this wiki's admins aren't very active and for example, protecting the In the news, DYK, and On this day templates will allow trusted editors with the user group to do maintenance and updates. Also, Isn't the whole purpose of the template editor right to edit template protected pages?

@Stang How does one enable these permissions? I couldn't find any information about this. Thanks

Change 944983 merged by jenkins-bot:

[operations/mediawiki-config@master] newiki: Fix templateeditor config

Mentioned in SAL (#wikimedia-operations) [2023-08-08T13:26:22Z] <taavi@deploy1002> Started scap: Backport for [[gerrit:944983|newiki: Fix templateeditor config (T343257)]]

Mentioned in SAL (#wikimedia-operations) [2023-08-08T13:27:51Z] <taavi@deploy1002> taavi and stang: Backport for [[gerrit:944983|newiki: Fix templateeditor config (T343257)]] synced to the testservers mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)

Mentioned in SAL (#wikimedia-operations) [2023-08-08T13:36:12Z] <taavi@deploy1002> Finished scap: Backport for [[gerrit:944983|newiki: Fix templateeditor config (T343257)]] (duration: 09m 49s)