Page MenuHomePhabricator

Enable partial action blocks on Commons
Closed, ResolvedPublic

Description

Request :

Enable partial action blocks on Commons so that uploading files can be blocked while allowing edits in the file namespace

Use case(s) :

There are often users editing in good faith, but who fail to understand the requirement to provide an adequate license for files uploaded.
They upload files in the public domain (old documents, etc.) but continue to give a Creative Commons license despite warnings.
So we have to block them completely.

Benefits :

This would allow a more graduate answer to new users who fail to understand file licensing.
Blocking these users completely has two bad side effects:

  • They can't fix the license (and other information) of the files they uploaded, even if they wanted to.
  • When blocked from uploading files, they can't contribute positively in other areas (adding categories, etc.), which are much less complicated than understanding copyright subtleties.

This kind of block would be useful to integrate new users, waiting for them to learn more about file licensing, while still allowing them to edit in other ways.

Event Timeline

Umherirrender subscribed.

Already there, needs $wgEnablePartialActionBlocks site config set to true (see T330533 for example)

@Yann: Is there a corresponding on-wiki discussion on Commons about this that you could link to, please?

Out of the community scale, I suggest waiting for a clear consensus.

Delighted for this to happen. That said, this may need input from the Anti-Harassment Team who built this feature, as I believe this will be the first time it will be deployed to production outside of their test wikis (T315525) and may need careful monitoring.

Delighted for this to happen. That said, this may need input from the Anti-Harassment Team who built this feature, as I believe this will be the first time it will be deployed to production outside of their test wikis (T315525) and may need careful monitoring.

Thanks for your comment. It won't be used very often. During the last 5 years or so, there may be about a dozen cases where this would have been useful.

Delighted for this to happen. That said, this may need input from the Anti-Harassment Team who built this feature, as I believe this will be the first time it will be deployed to production outside of their test wikis (T315525) and may need careful monitoring.

Thanks for your comment. It won't be used very often. During the last 5 years or so, there may be about a dozen cases where this would have been useful.

Yes, from your point of view it won't be "used" often, but in practice every user action (every page edit, every file upload, every block, etc.) goes through the block system, so the risk from deploying this change around load/speed is high even if it was never "used". That said, given the so-far-successful roll-out on the pilot wikis, I think it's very likely to not be an issue.

Frostly subscribed.

I've closed the Village Pump discussion as successful.

Could you please give a schedule for this? Thanks,

Delighted for this to happen. That said, this may need input from the Anti-Harassment Team who built this feature, as I believe this will be the first time it will be deployed to production outside of their test wikis (T315525) and may need careful monitoring.

Thanks for your comment. It won't be used very often. During the last 5 years or so, there may be about a dozen cases where this would have been useful.

Yes, from your point of view it won't be "used" often, but in practice every user action (every page edit, every file upload, every block, etc.) goes through the block system, so the risk from deploying this change around load/speed is high even if it was never "used". That said, given the so-far-successful roll-out on the pilot wikis, I think it's very likely to not be an issue.

I don't really understand the logic. To me, if a user is trying to edit a simple page, there is no need to check if this user is blocked from uploading files. In addition, there is already the possibility to block selectively by namespaces. Uploading files obviously means editing the File namespace, so it is just a sub-restriction in this already existing possibility.

Jonteemil changed the subtype of this task from "Task" to "Feature Request".Aug 2 2023, 3:15 AM
JJMC89 changed the subtype of this task from "Feature Request" to "Task".Aug 2 2023, 3:16 AM
Frostly changed the subtype of this task from "Task" to "Feature Request".Aug 3 2023, 8:45 AM
JJMC89 renamed this task from Ability to block users only from uploading files on Commons to Enable partial action blocks on Commons.Aug 3 2023, 11:58 PM
JJMC89 updated the task description. (Show Details)
JJMC89 changed the subtype of this task from "Feature Request" to "Task".
JJMC89 added a subscriber: Niharika.
Niharika added a subscriber: JJMC89.

Hi! Thanks for adding me @JJMC89. We'll be happy to prioritize this. I'll provide another update here after consulting with my tech lead.

Change 956465 had a related patch set uploaded (by Tchanders; author: Tchanders):

[operations/mediawiki-config@master] Enable partial action blocks on commonswiki

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

Change 956465 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable partial action blocks on commonswiki

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

Mentioned in SAL (#wikimedia-operations) [2023-09-21T13:04:52Z] <tchanders@deploy2002> Started scap: Backport for [[gerrit:956465|Enable partial action blocks on commonswiki (T339878)]]

Mentioned in SAL (#wikimedia-operations) [2023-09-21T13:25:57Z] <tchanders@deploy2002> tchanders: Backport for [[gerrit:956465|Enable partial action blocks on commonswiki (T339878)]] synced to the testservers mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)

Mentioned in SAL (#wikimedia-operations) [2023-09-21T13:39:57Z] <tchanders@deploy2002> Finished scap: Backport for [[gerrit:956465|Enable partial action blocks on commonswiki (T339878)]] (duration: 35m 04s)