Page MenuHomePhabricator

Show more information about temporary accounts on Special:Block/<ip>
Closed, ResolvedPublic

Description

Background

Blocking an IP address blocks temporary accounts from editing from that IP address, and as a result blocks new temporary account creations.

This is not always known to users who perform blocks, but could be explained on Special:Block.

It is also helpful to understand when there are multiple temporary accounts using an IP. This information could be made more available too, and a link provided to Special:IPContributions.

Acceptance criteria
  • When entering an IP address/range target into Special:Block, text appears beneath the target field: All temporary account edits from this IP will be blocked. Temporary account creation from this IP will also be blocked.
  • A link to Special:IPContributions for the target is also shown

Event Timeline

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

[mediawiki/core@master] Add message to Special:Block explaining how IP block affects temp users

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

When entering an IP address/range target into Special:Block, text appears beneath the target field: All temporary account edits from this IP will be blocked. Temporary account creation from this IP will also be blocked.

This is done in the patch above (in core).

A link to Special:IPContributions for the target is also shown

This needs to be done from CheckUser.

@Tchanders is it possible to include the number of temp accounts on the IP/range too?

Change #1217801 merged by jenkins-bot:

[mediawiki/core@master] Add message to Special:Block explaining how IP block affects temp users

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

Re-opening this, for adding the IPContributions link from CheckUser.

@Tchanders is it possible to include the number of temp accounts on the IP/range too?

For this we'd need to do an API request for the number of IPs, because the IP can change dynamically as the user changes the value of the target input. We don't currently have an API for looking up the number of temp accounts without looking up the actual temp accounts, which would cause the same logging problem as T412221.

But it's worth filing as a separate task, so we can decide if it's worth adding this API.

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

[mediawiki/extensions/CheckUser@master] Add link to Special:IPContributions from Special:Block

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

Change #1218324 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add link to Special:IPContributions from Special:Block

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

	"checkuser-tempaccount-specialblock-ip-target": "See temporary account contributions at [[Special:IPContributions/$1]].",

Should we localize the special page name in this message on the UI?

	"checkuser-tempaccount-specialblock-ip-target": "See temporary account contributions at [[Special:IPContributions/$1]].",

Should we localize the special page name in this message on the UI?

[[{{#special:IPContributions/$1}}]] should do I guess?

	"checkuser-tempaccount-specialblock-ip-target": "See temporary account contributions at [[Special:IPContributions/$1]].",

Should we localize the special page name in this message on the UI?

[[{{#special:IPContributions/$1}}]] should do I guess?

Perhaps we could just use a piped link to "conceal" the special page name, because such magic words can be parsed only in PHP modules and not in JS modules.

Change #1224579 had a related patch set uploaded (by Dragoniez; author: Dragoniez):

[mediawiki/extensions/CheckUser@master] Use a piped link in `checkuser-tempaccount-specialblock-ip-target`

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

Change #1224579 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Resolve untranslatable special page name issue and distinguish IP types

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