Page MenuHomePhabricator

Disable all patrolling functions on de.wikipedia
Closed, ResolvedPublic

Description

follow up declined task T102818

Please deactivate
$wgUseFilePatrol and $wgUseNPPatrol on de.wikipedia as there is a new situation:

Patrol buttons are already hidden via https://de.wikipedia.org/wiki/MediaWiki:Common.css and https://de.wikipedia.org/wiki/MediaWiki:Mobile.css after discussion. I have not seen any objections that admins or other groups would still need this function since february 2021.

see also T100682

I personally think that switching off patrolmarks on dewiki completely makes moor sense because it is defacto not in use and just creating unnecessary logentry's.

Indeed. Why not just set [[ https://www.mediawiki.org/wiki/Manual:$wgUseRCPatrol | $wgUseRCPatrol ]] / [[ https://www.mediawiki.org/wiki/Manual:$wgUseNPPatrol | $wgUseNPPatrol ]] to false? That's how FlagRev is used on the Hungarian Wikipedia and we had no problems with it.

See also projects that have already deactivated patrol buttons in InitialiseSettings.php:

'wgUseNPPatrol' => [
	'default' => true, // brion 2007-11-16
	'fishbowl' => false, // T74239
	'private' => false, // T74239
	'huwiki' => false, // T21241
	'ruwiki' => false, // T33650
	'sqwiki' => false, // T27822
	'ukwiki' => false, // T35273
	'bswiki' => false, // T158662
],

'wgUseFilePatrol' => [
	'default' => true,
	'huwiki' => false, // T21241
	'ruwiki' => false, // T154285
	'bswiki' => false, // T158662
],

Event Timeline

Is it also possible to remove all configurations related to patrol function on de.wikipedia?:

The latest one was this one. A broader community discussion is not to be expected, considering that basically nobody knows about this feature.

@Aklapper To be honest, I don't see that this is a change in the sense of the instructions. So the presence of Patrol in Special:Log only irritates.

The functions are already unusable due to the described changes of local css and were not actually used before. So this is just a matter of maintenance and tidying up. In fact, no functions are being changed, and nothing is being taken away from the community. See also the argumentation in previous T102818. I actually already saw a clear state of discussion on deactivation there.

Change 828061 had a related patch set uploaded (by Stang; author: Stang):

[operations/mediawiki-config@master] dewiki: Trun off patrolling

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

Stang subscribed.

As sysop permission is needed to test this patch, I would like a sysop, for example the author of this task, to test this by themselves during a backport window. If you need any help of this, you could leave a message on my talk page on any Wikimedia site.

@Wnme I see you are currently an admin on dewiki, would you like to test this change by yourself?

Thanks a lot @Stang for the patch! I'll have a deeper look in next few days.

Hi @Stang I forgot to mention it in the task. But the reason for this was a discussion why the patroll log is displayed on dewiki. Do you see an option to disable this as well? Manual:$wgLogTypes and Manual:Log actions may be helpful.

When setting wgUseNPPatrol and wgUseFilePatrol to false, user could still access "Special:log/patrol". Yes, if you remove "patrol" from the $wgLogTypes array mentioned above, user could no longer search that, but I wonder if it will cause some problems, like we should not hide that entry point, and if it could cause some other issue when accessing some other types of logs. @Urbanecm would you like to have a look at this one and give your advice? Thanks!

Hi @Urbanecm Friendly reminder. There was a question for you here.

Any news on this task? I noticed a couple of days ago that the markpatrolled-button still appears for a few of seconds when visiting new pages on mobile browser even though we tried to hide it. We really don't use the patrolled function and it should be disabled.

Change #828061 abandoned by Stang:

[operations/mediawiki-config@master] dewiki: Trun off patrolling

Reason:

no longer work on this, someone else could take it

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

Stang removed Stang as the assignee of this task.Jun 23 2024, 10:37 AM
Stang edited projects, added: Patch-Needs-Improvement; removed: Patch-For-Review.

I'll cover this task, but do you want both autopatrol and patrol removed from the user groups in German Wikipedia?

I'll cover this task, but do you want both autopatrol and patrol removed from the user groups in German Wikipedia?

Yes. It's only assigned to sysops (and bots) anyway and without any actual effect given that we're only using flagged revisions. patrolmarks could probably be removed as well.

Change #1284900 had a related patch set uploaded (by Codename Noreste; author: Codename Noreste):

[operations/mediawiki-config@master] Completely disable MediaWiki page patrolling functions on German Wikipedia

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

codenamenoreste renamed this task from Disable all patrolling functions on de.wikipedia to Disable all patrolling functions on de.wikipedia.May 7 2026, 11:18 PM
codenamenoreste changed the task status from Open to In Progress.
codenamenoreste claimed this task.
codenamenoreste triaged this task as Medium priority.
codenamenoreste moved this task from Backlog to Working on on the Wikimedia-Site-requests board.

I'll cover this task, but do you want both autopatrol and patrol removed from the user groups in German Wikipedia?

Hello, can you also deactivate $wgUseFilePatrol on ukwiki too?

@Andriy.v This task is about de.wikipedia, see the task title. If you want changes on some other wiki, please follow https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes - thanks.

Change #1284900 merged by jenkins-bot:

[operations/mediawiki-config@master] Completely disable MediaWiki page patrolling functions on German Wikipedia

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

Mentioned in SAL (#wikimedia-operations) [2026-05-13T13:42:32Z] <lucaswerkmeister-wmde@deploy1003> Started scap sync-world: Backport for [[gerrit:1284900|Completely disable MediaWiki page patrolling functions on German Wikipedia (T316393)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-13T13:44:28Z] <lucaswerkmeister-wmde@deploy1003> lucaswerkmeister-wmde, codenamenoreste: Backport for [[gerrit:1284900|Completely disable MediaWiki page patrolling functions on German Wikipedia (T316393)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-13T13:50:08Z] <lucaswerkmeister-wmde@deploy1003> Finished scap sync-world: Backport for [[gerrit:1284900|Completely disable MediaWiki page patrolling functions on German Wikipedia (T316393)]] (duration: 07m 36s)

As of now, MediaWiki's page patrolling function on German Wikipedia is now fully disabled. Done.