Page MenuHomePhabricator

Change default auto-selected items on Special:Block for officewiki, collabwiki and foundationwiki
Open, Needs TriagePublic

Description

Hi,

I have a couple of requests which will help with off-boardings. Please let me know if this is possible.

  1. For Office, Collab, and Foundation once "Reason" is selected to "no longer employed by WMF" can it auto select all items under Actions to block: Editing, Account creation, Sending email, Editing their own talk page auto checked once the reason is selected to
  1. No longer have auto selection for "Additional options: Automatically block the last IP address used by this user, and any subsequent IP addresses they try to edit from"

This will help speed up the off-boarding process and ensure less of security holes for IT.

Best,
Emerauld

Event Timeline

DannyS712 subscribed.

@eross tagging with WMF-Office-IT based on the description. The second request is a duplicate of T231943: Make it so that users on officewiki can't be accidentally locked out by autoblocks, and the first should be possible to do via a user script

Please let me know if this is possible.

@eross: For clarity, who are you addressing, as no team or code project is tagged on this task (apart from WMF-Office-IT themselves now)?

@Aklapper I'm thinking it should be Wikimedia-Site-requests and @Mooeypoo

Ah, thanks. Wikimedia-Site-requests would apply if the software (MediaWiki) already offered such configuration options. I assume this task is about the page Special:Block. I don't see an option about autoblock in https://noc.wikimedia.org/conf/InitialiseSettings.php.txt so I guess it is not possible to set this in MediaWiki itself. It sounds like something that could potentially be implemented via local JavaScript (gadget; user script).

Aklapper renamed this task from Block User Feature to Change default auto-selected items on Special:Block for officewiki, collabwiki and foundationwiki.Nov 14 2019, 9:16 PM

@Aklapper I believe you are correct. Also I'm wondering if this should be merge with this request?

@eross: Sounds similar... If you think it should be merged, then please feel free to Edit Related Tasks...Close As Duplicate in the upper right corner. Thanks!

Hi All,

Wanted to check if there's any updates on this.

@eross: Hi, no updates, otherwise they'd be listed in this task. :) In my understanding, this task first requires code additions in MediaWiki core which would allow doing this in any MediaWiki installation (whether Wikimedia or not). So there needs to be a separate task for this under MediaWiki-User-management (not: WMF-Office-IT) which should be a sub-task dependency of this task, and this very task's status should be set to stalled as nothing can be done here currently. Plus of course someone would have to volunteer to actually write that code.

Change 534936 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Introduce global setting wgAutoblockByDefault

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

@eross https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/534936/ should do part of this (this should have been closed as a duplicate of T231943, not the other way around) - adds a new $wgAutoblockByDefault setting to determine the default.

Change 534936 abandoned by Urbanecm:
[mediawiki/core@master] Introduce global setting wgAutoblockByDefault

Reason:
no longer necessary

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