Page MenuHomePhabricator

Create a special page for mass global (un)block
Open, Needs TriagePublicFeature

Description

Requesting a similar feature such as Special:MultiLock, but to mass global (un)block. Suggested name: Special:MassGlobalBlock. Best regards.

Event Timeline

MarcoAurelio raised the priority of this task from to Needs Triage.
MarcoAurelio updated the task description. (Show Details)
MarcoAurelio subscribed.

It might take a bit longer to get a special page implemented on mw side (hard to get CR within a reasonable timeframe on the GlobalBlocking extension project) but I could try and rewrite the gadget at Meta. Would that work as a temporary solution?

Luke081515 subscribed.

@MarcoAurelio: I think "Special:MultiBlock" is a bit more similar to the MultiLock ;)

It might take a bit longer to get a special page implemented on mw side (hard to get CR within a reasonable timeframe on the GlobalBlocking extension project) but I could try and rewrite the gadget at Meta. Would that work as a temporary solution?

Of course. If you could also take a look at all other "mass" block scripts there (in the same Gadget) that'd be great until we have a page like this :-)

@MarcoAurelio: I think "Special:MultiBlock" is a bit more similar to the MultiLock ;)

Indeed :-) I'm fine with that as well.

Krenair subscribed.

Is this going to end up duplicating a load of CentralAuth MultiLock code? :/

Is this going to end up duplicating a load of CentralAuth MultiLock code? :/

I'd say -sorry for my ignorance here- it won't, because global blocks are handled with Extension:GlobalBlock, not with CentralAuth.

Since Extension:GlobalBlocking and Extension:CentralAuth are separate and work entirely separately, the actual process to global block is different to locking, yes. But there's still some things in common - you're going to want to give a list of users/IPs, see some info about them (edit count, etc.) and apply the same process to all with a given reason (and a markbotedits checkbox)

I just wonder whether we can abstract some of it out into MW core - something along the lines of https://www.mediawiki.org/wiki/Extension:MassAction

I've rewritten the gadget now and it seems to work okay. But please try to work with it in a predictable manner, I can't guarantee that it will work as expected always.

I've rewritten the gadget now and it seems to work okay. But please try to work with it in a predictable manner, I can't guarantee that it will work as expected always.

So far and until today the gadget is working fine but it has an annoying issue: when there's an already blocked IP in the list of IPs you're trying to globalblock, the script breaks horribly. Maybe it should skip them and continue or modify its block settings.

Change 829290 had a related patch set uploaded (by Tks4Fish; author: Tks4Fish):

[mediawiki/extensions/GlobalBlocking@master] [WIP] Add Special:MassGlobalBlock

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

This will likely be more useful once T17294: Allow globally blocking of accounts, so putting this on my radar.

Aklapper added a subscriber: Tks4Fish.

@Tks4Fish: I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!

Dreamy_Jazz changed the subtype of this task from "Task" to "Feature Request".Sep 30 2024, 3:21 PM
JJMC89 renamed this task from Create a special page for mass global (un)block IP addresses to Create a special page for mass global (un)block.Sep 30 2024, 3:23 PM
JJMC89 updated the task description. (Show Details)