Last modified: 2014-01-18 03:37:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22850, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20850 - AbuseFilter: Expose global groups in global_user_groups variable (via CentralAuth)
AbuseFilter: Expose global groups in global_user_groups variable (via Central...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Low enhancement with 4 votes (vote)
: ---
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-28 13:53 UTC by Melancholie
Modified: 2014-01-18 03:37 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Melancholie 2009-09-28 13:53:58 UTC
There is no "[Gg]lobal_bot" user group/right for the AbuseFilter, yet.

("bot" in user_groups) e.g. only works for accounts that have a local bot flag.

Note that not all global bots have "bot" in their name but that normal accounts can have "bot" in their name; thus plain user name sniffing is not suitable in cases where you want to find out if an account is a (global) bot.

* you can test an account for being a [local only] bot or not with ("bot" in user_groups)
* you can _not_ test an account for being a (global, but not locally flagged) bot or not with ("Global_bot" in user_groups) e.g.

Similar request: bug 20272
Comment 1 Melancholie 2009-09-28 13:57:15 UTC
Note that this, of course, would be intended to whitelist/allow global bots in specific cases, not to block them ;-) ;-)
Comment 2 aokomoriuta 2011-02-15 18:13:18 UTC
This is not for only global bot but for all global group (e.g. global sysop, steward, etc) so I changed the title(summary).

I guess it's a little hard to get what global groups the user has because global groups isn't managed by the MediaWiki core but by a MediaWiki extension ([[mw:Extension:CentralAuth]]?).
But we (I mean we are jawiki's users at least) are very anxious for this.
Comment 3 vigorous action 2011-03-11 01:57:19 UTC
The thing corresponding to GlobalGroupPermissions and globalgroupmembership is hoped for.
Comment 4 Chong-Dae Park 2012-12-10 08:25:11 UTC
If we can write,
  ("bot" in user_groups or "globalbot" in global_user_group)
it would be helpful.
Comment 5 Alex Monk 2012-12-16 02:25:50 UTC
Gerrit change #38895, relies on Gerrit change #38894 in AbuseFilter
Comment 6 Marius Hoch 2013-01-08 01:20:21 UTC
Change has been merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links