Page MenuHomePhabricator

Grant abusefilter-log-detail to only sysop and abusefilter group on jawiki
Closed, ResolvedPublic

Description

Author: aokomoriuta

Description:
As our consensus[1], jawiki requests to grant abusefilter-log-detail right to only both sysop and abusefilter group.
(Now it's granted to all.)

thank you.

[1] [[:w:ja:WT:FILTER#abusefilter-log-detailをsysop/abusefilterにする]]


Version: unspecified
Severity: enhancement
URL: http://ja.wikipedia.org/wiki/WT:FILTER#abusefilter-log-detail.E3.82.92sysop.2Fabusefilter.E3.81.AB.E3.81.99.E3.82.8B

Details

Reference
bz25082

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport set Reference to bz25082.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Done.

} elseif ($wgDBname == 'jawiki') {

$wgGroupPermissions['sysop']['abusefilter-modify'] = false;
$wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;
  • $wgGroupPermissions['*']['abusefilter-log-detail'] = true;

+ $wgGroupPermissions['*']['abusefilter-log-detail'] = false;
+ $wgGroupPermissions['sysop']['abusefilter-log-detail'] = false;
+ $wgGroupPermissions['abusefilter']['abusefilter-log-detail'] = false;

aokomoriuta wrote:

Thanks, but
+ $wgGroupPermissions['sysop']['abusefilter-log-detail'] = false;
+ $wgGroupPermissions['abusefilter']['abusefilter-log-detail'] = false;
I think they should be "true".

aokomoriuta wrote:

And we would be grateful if you could resolve Bug 24852 at the same time.

Because we'll begin to create and enable filters after this is resolved
but there's some proposed filters which uses the new namespace.

jeluf wrote:

Oops, silly cut-and-paste mistake, please excuse!

} elseif ($wgDBname == 'jawiki') {

$wgGroupPermissions['sysop']['abusefilter-modify'] = false;
$wgGroupPermissions['abusefilter']['abusefilter-modify'] = true;
$wgGroupPermissions['*']['abusefilter-log-detail'] = false;
$wgGroupPermissions['sysop']['abusefilter-log-detail'] = true;
$wgGroupPermissions['abusefilter']['abusefilter-log-detail'] = true;

aokomoriuta wrote:

Thank you much!