Nothing Special   »   [go: up one dir, main page]

Page MenuHomePhabricator

previously-autopatrolled revisions of administrators or autopatrollers become unpatrolled upon losing that status
Open, Needs TriagePublic

Description

This is seemingly a long-standing bug with the patrolled/unpatrolled revisions that occurs when a user with autopatrol user right (i.e., autopatrolled users and administrators) loses that status. Their previously automatically patrolled, and possibly their manually patrolled revisions prior to them gaining that status (sorry, can't remember exactly on this point), become unpatrolled.

MediaWiki version: 1.34.2

System Information:
Vivaldi 3.1.1929.45 (Stable channel) (64-bit)
Revision 1eb3263017ed42270818939fbff241845938a81f
OS Windows 10 OS Version 1909 (Build 18363.959)
JavaScript V8 8.3.110.13
Flash 32.0.0.387 C:\WINDOWS\system32\Macromed\Flash\pepflashplayer64_32_0_0_387.dll
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36
Command Line "C:\Users\Wylie\AppData\Local\Vivaldi\Application\vivaldi.exe" --flag-switches-begin --flag-switches-end --enable-audio-service-sandbox --ppapi-flash-path="C:\WINDOWS\system32\Macromed\Flash\pepflashplayer64_32_0_0_387.dll" --save-page-as-mhtml
Executable Path C:\Users\Wylie\AppData\Local\Vivaldi\Application\vivaldi.exe
Profile Path C:\Users\Wylie\AppData\Local\Vivaldi\User Data\Default

original Written by @dmehus

Event Timeline

@Reception123 Can you fix the typo in my username in your original post?

Also, I'm attaching a link to the original Miraheze Phabricator ticket, which may provide additional information.

User-RhinosF1

@Reception123: Following https://www.mediawiki.org/wiki/How_to_report_a_bug to provide a list of clear steps to reproduce (step by step, as a list), then what you expect, and what happens instead, would increase chances that someone would take a look into this. Please structure your bug reports - thanks.

@Reception123: Following https://www.mediawiki.org/wiki/How_to_report_a_bug to provide a list of clear steps to reproduce (step by step, as a list), then what you expect, and what happens instead, would increase chances that someone would take a look into this. Please structure your bug reports - thanks.

@Aklapper Oh yeah, I requested this, and @Reception123 created the upstream task for me. The issue is with the rebuildAll.php maintenance script, which automatically marks revisions as unpatrolled. It may not just be former administrators, though, but it seems like only certain previously patrolled (autopatrolled or manual, even) are now marked as unpatrolled. I'm just not sure I understand the workflow for that script, though, so unsure if specifically a bug but rather an undesirable feature in the maintenance script.

I would say the steps to produce are as follows:

  1. Grant a user the sysop permission
  2. Have the new sysop user create a few revisions
  3. Remove the the sysop permission from the user
  4. Run rebuildAll.php on the given wiki, with the default/recommended parameters specified/not specified (whatever the default is, I think)
  5. Review the former sysop's recent revisions and note that the revisions are now unpatrolled

If this is not a bug, can we not add a feature request to rebuildAll.php that would add a parameter to set the rc_patrol indicator to the value specified in the parameter the system administrator issues?