Page MenuHomePhabricator

Turn off patrolling on bs.wiki and configure FlaggedRevs
Closed, ResolvedPublic

Description

  • Turn off the built-in patrolling by setting $wgUseNPPatrol, $wgUseFilePatrol and $wgUseRCPatrol to false (and anything else if necessary)
  • Set only one tag with one level in FlaggedRevs (accuracy: spot checked) and remove the reviewer group
  • Remove the autopatrolled and patroller groups manually (if necessary)
  • Grant the stablesettings right to sysops and higher groups

Discussion: https://bs.wikipedia.org/wiki/Wikipedia:%C4%8Car%C5%A1ija#.C4.8Ci.C5.A1.C4.87enje_korisni.C4.8Dkih_grupa

Event Timeline

DatGuy triaged this task as Medium priority.Mar 4 2017, 7:09 PM
DatGuy subscribed.
  1. wgUseRCPatrol is false by default
  2. For FlaggedRevs, see here. By what you wrote, I understand you want it on NS_MAIN, $wgFlaggedRevsTags['accuracy']['levels'] as 1, unset the reviewer permission, and make the stable version not the default content for pages. What else? Check out other wikis' settings here.

@DatGuy: The FlaggedRevs settings should remain the same (i.e. it should be available in the same namespaces it's currently available in) except that you can't set multiple tags/levels, but only one. Check out the "ptwiki" configuration in flaggedrevs.php; it seems like they also use just one tag judging by the comment "We have only one tag with one level" on line 556 which is what we've opted for.

There should be no reviewer, autopatrolled and patroller groups after the change and sysops should have the "stablesettings" right.

You might want to check out T154285. It seems sort of similar to this request when it comes to "turning off native patrolling/hiding exclamation marks in favor of FlaggedRevs".

I've made a gerrit patch. Not sure why bot isn't adding it here, but it's change 341350

Change 341350 had a related patch set uploaded (by matmarex; owner: datguy):
[operations/mediawiki-config] Turn off patrolling for FlaggedRevs in bswiki

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

[offtopic]

Not sure why bot isn't adding it here

Maybe due to empty line between task ID and change ID but that's the only guess I have. (Thanks for the patch!)

(Heh. Just a bit slow it seems.)

Nope. you were right Aklapper. Commit message was updated by another user.

Change 341350 merged by jenkins-bot:
[operations/mediawiki-config] Turn off patrolling for FlaggedRevs in bswiki

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

Mentioned in SAL (#wikimedia-operations) [2017-03-20T18:39:39Z] <thcipriani@tin> Synchronized wmf-config: SWAT: [[gerrit:343685|Revert "Revert "Turn off patrolling for FlaggedRevs in bswiki""]] T158662 (duration: 00m 44s)