Page MenuHomePhabricator

Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage
Closed, ResolvedPublicRequest

Description

As the title says – in other words, users that are not autoconfirmed or manually confirmed should no longer be able to edit the "Module" namespace on enwikivoyage.

Local discussion:
https://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Automatically_disallow_module_pages_from_non-autoconfirmed_users

Event Timeline

Change #1125588 had a related patch set uploaded (by Dreamrimmer; author: Dreamrimmer):

[operations/mediawiki-config@master] Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage

https://gerrit.wikimedia.org/r/1125588

Change #1125588 merged by jenkins-bot:

[operations/mediawiki-config@master] Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage

https://gerrit.wikimedia.org/r/1125588

Mentioned in SAL (#wikimedia-operations) [2025-03-10T08:05:47Z] <awight@deploy2002> Started scap sync-world: Backport for [[gerrit:1125588|Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage (T388301)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-10T08:18:39Z] <awight@deploy2002> awight, dreamrimmer: Backport for [[gerrit:1125588|Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage (T388301)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-10T08:29:56Z] <awight@deploy2002> Finished scap sync-world: Backport for [[gerrit:1125588|Disallow editing modules for non-confirmed/non-autoconfirmed users on the English Wikivoyage (T388301)]] (duration: 24m 08s)

@SHB2000 : According to the MediaWiki manual, "If you list more than one permission for a given namespace, a user must have all of them to edit pages in that namespace". So, we need to fix this by setting 828 => ['autoconfirmed'], because with the current config, users need to be in both groups. After making this change, manually granted confirmed users won't be able to edit modules. Are you okay with me uploading a patchset to fix this? Just confirming, because your community wants both groups to be able to edit modules.

Hmm, I suppose if that's the only feasible solution technically then go for it.

Change #1125978 had a related patch set uploaded (by Dreamrimmer; author: Dreamrimmer):

[operations/mediawiki-config@master] Disallow editing modules for non-autoconfirmed users on the English Wikivoyage

https://gerrit.wikimedia.org/r/1125978

You may confuse user group name and user right name

  • the "autoconfirmed" user right is given to both autoconfirmed and confirmed users in wiki (plus some other groups like sysops and stewards). there is no "confirmed" user right (i.e. nobody has a right with such name).
  • "autoconfirmed" and "confirmed" are names of two user groups with mostly same rights (both include "autoconfirmed" right)
  • the value of $wgNamespaceProtection is a list of rights. So the patch requires user to have "confirmed" right (in addition to autoconfirmed) to edit modules, which is held by nobody. i.e. nobody can edit any modules.

Change #1125978 merged by jenkins-bot:

[operations/mediawiki-config@master] Disallow editing modules for non-autoconfirmed users on the English Wikivoyage

https://gerrit.wikimedia.org/r/1125978

Mentioned in SAL (#wikimedia-operations) [2025-03-10T14:05:39Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1124464|Enable CX unified dashboard on phase 2 wikis (T387820)]], [[gerrit:1125978|Disallow editing modules for non-autoconfirmed users on the English Wikivoyage (T388301)]], [[gerrit:1126033|mnwwiktionary: add thesaurus namespace (T356620)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-10T14:08:20Z] <lucaswerkmeister-wmde@deploy2002> dreamrimmer, sbisson, anzx, lucaswerkmeister-wmde: Backport for [[gerrit:1124464|Enable CX unified dashboard on phase 2 wikis (T387820)]], [[gerrit:1125978|Disallow editing modules for non-autoconfirmed users on the English Wikivoyage (T388301)]], [[gerrit:1126033|mnwwiktionary: add thesaurus namespace (T356620)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-10T14:17:01Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1124464|Enable CX unified dashboard on phase 2 wikis (T387820)]], [[gerrit:1125978|Disallow editing modules for non-autoconfirmed users on the English Wikivoyage (T388301)]], [[gerrit:1126033|mnwwiktionary: add thesaurus namespace (T356620)]] (duration: 11m 21s)