Lucas_Werkmeister_WMDE added a comment.
In T235154#5717975 <https://phabricator.wikimedia.org/T235154#5717975>, @Pablo-WMDE wrote: > Another question that came up: "this value is currently semi-protected on $repoName and can be edited only be autoconfirmed/confirmed users", second from last mock-up. > This sounds like it iterates the **groups** that can. In practice we know about **rights** which need to be granted. Certainly we can try to deduce the groups from these but we'd put more effort into this than MediaWiki itself (uses fixed messages per "reason", e.g. "semi-protected"). Is that intended? To tie this one up – if I recall correctly, we agreed with Lydia that it’s fine to just say “autoconfirmed” (hard-coded into the message, without “/confirmed”), since MediaWiki does this as well (semiprotectedpagewarning <https://www.mediawiki.org/wiki/MediaWiki:Semiprotectedpagewarning>). Wiki admins who want the text to be fully accurate can override it on their wiki to mention additional groups. --- We also seem to be missing mocks for cascade-protected pages. This can come from two ends: the repo, and the client. (Sadly, the edit links aren’t hidden on cascade-protected client pages.) On the repository wiki, cascade protection of the item might be theoretically possible (I haven’t tried it out), but on Wikidata in particular, the list of cascade-protected pages <https://www.wikidata.org/wiki/Special:ProtectedPages?wpfilters[]=cascadeonly> lists only one single page <https://www.wikidata.org/wiki/User:Jasper_Deng/Cascade>, which hasn’t been edited since 2013 and doesn’t transclude anything else. I think it’s safe to say that we don’t use cascade protection on Wikidata. On client wikis, cascade protection doesn’t seem to be all that popular either. English Wikipedia has 124 cascade-protected pages that aren’t directly protected, none of them in the main namespace (Quarry <https://quarry.wmflabs.org/query/40648>); German Wikipedia has 1949 such pages, all of them in the project namespace (Quarry <https://quarry.wmflabs.org/query/40649>); Commons has 404 such pages, in the Project and File namespaces; on French, Russian and Basque Wikipedia, I found no such pages at all. If you also search pages that are otherwise protected, you find a grand total of six pages in the main namespace on English Wikipedia, and not much more on the other wikis I checked. I’m not sure where I’m going with this, to be honest… we should still handle these errors somehow (and I guess the few dozen cascade-protected files on Commons are the most realistic case where users would encounter them), but not lose too much sleep over it? TASK DETAIL https://phabricator.wikimedia.org/T235154 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Tonina_Zhelyazkova_WMDE, SaraiSan, Addshore, Michael, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Charlie_WMDE, Aklapper, Lydia_Pintscher, Sarai-WMDE, darthmon_wmde, DannyS712, Nandana, Lens0021, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
