Fandom Developers Wiki
Advertisement

This is the talk page for discussing improvements to the MassPatrol page.

Script won't mass patrol pages[]

I'm trying to use this script to mass patrol all the recently created pages that haven't been patrolled. It should have done that, but it's not done anything. It's rather disappointing, because I'd rather not have to go back to the tedious time consuming process of manually patrolling the recently created pages that aren't patrolled. ― C.Syde (talk | contribs) 09:59, April 14, 2018 (UTC)

Tried script just now on Tests wiki and it works fine. The only exception here are moved pages, because MediaWiki technically doesn't update information about them in RecentChanges feed.
Rendann (talk) 17:41, April 14, 2018 (UTC)
I've tried again and still nothing. I'm not sure what's wrong, but something's definitely wrong, since I'm unable to mass patrol pages using the script. ― C.Syde (talk | contribs) 23:48, April 15, 2018 (UTC)
Looks like I can't even patrol multiple revisions of a single page, let alone mass patrol dozens of unpatrolled pages in a single click. I haven't been able to do a thing with the script. It says that it manages to patrol the pages etc. but when I look back, those pages are still unpatrolled, which means that the script is broken. ― C.Syde (talk | contribs) 05:13, April 16, 2018 (UTC)

Permissions error[]

Script currently fails on fetching edits via RC API with permissions error on https://angrybirds.fandom.com/ru/wiki/Angry_Birds_Wiki. Works on all other wikis. Any help would be appreciated.
Rendann (talk) 08:41, November 24, 2018 (UTC)

Should be fixed once Wikia reviews the JS. --Sharkie 12:30, November 24, 2018 (UTC)
Nice. Thanks!
Rendann (talk) 13:55, November 24, 2018 (UTC)

difference in the way this works[]

MassPatrol link compare

note the URLs

Just installed this and it seems to work great, but only with a certain kind of link and only with extra steps... which I feel defeats the purpose.

Link from manually selecting revisions (works):

Link from RecentChanges (doesn't work):

Any advice on how to make this work from RecentChanges? Scarecroe (talk) 11:59, September 19, 2020 (UTC)

Thank you for reporting this! Applied fix which will work after script getting reviewed. Rendann (talk) 17:50, September 23, 2020 (UTC)
You rock, thanks! I'll let C.Syde65 know, too, as this may have been the problem they were having. —Scott latest?cb=20200820192427 (talk) 18:02, September 23, 2020 (UTC)
Is there a way to tell if the script has been reviewed yet? It's still not working for me. —Scott latest?cb=20200820192427 (talk) 11:23, October 1, 2020 (UTC)
Works now! Took em awhile to review the script, I guess. Thanks again! —Scott latest?cb=20200820192427 (talk) 13:56, October 9, 2020 (UTC)

Update for UCP[]

Updated JS for UCP. Added restriction to limit up to currently viewed diff. Confused at the previous Special:NewPage option, since no diffs can be viewed there...


Echoblast53 (talk | contributions) 20:51, October 23, 2020 (UTC)

Some QoL changes to make this script less of a bomb and more precise

  • Added a bottom limiter so that when you are comparing the two diffs, you are actually patrolling the diffs that are relevant.
  • Added a unpatrolled marker that is mimicking the one found in RC (with only 1 set of wrapping NBSP).

I think the "bomb" "gunghoe" "patrol everything in not in sight" theme could be added back in if someone requests it, but this method of patrolling kind of defeats the purpose of patrolling.


Echoblast53 (talk | contributions) 07:05, November 5, 2020 (UTC)


Bug report: need to change RC filter to start at a later date to get entries that are old (unless the old patrols are actually unobtainable via RC) ---- Echoblast53 (talk | contributions) 03:18, November 28, 2020 (UTC)

sometimes works, sometimes doesn't[]

Not sure if this is due to UCP changes or not, but sometimes this script is working and sometimes it's not:

MassPatrol compare 2020-12-10

These links — [1] and [2] — were both clicked from RecentChanges. One of them has MassPatrol on the diff, the other does not. —Scott latest?cb=20200820192427 (talk) 12:23, December 10, 2020 (UTC)

Hey Scott, I changed the logic just a tad: now you are MassPatroling everything in the difference (not including the starting frame of reference). Is this what you are experiencing? -- Echoblast53 (talk | contributions) 07:14, December 11, 2020 (UTC)
Possibly. It's confusing because the diff links are very similar as they both indicate "2 intermediate revisions by the same user not shown" but one produces a "Mass Patrol" link and the other does not. —Scott latest?cb=20200820192427 (talk) 15:39, December 11, 2020 (UTC)
Another issue is that the 2nd one is very old: old edits beyond the wiki RC max (30 days default) patrol information can't be obtained via the api, and anything beyond 30 days have to be clicked manually 1 by 1. — Echoblast53 (talk | contributions) 21:40, December 11, 2020 (UTC)
The two examples are from yesterday. —Scott latest?cb=20200820192427 (talk) 21:41, December 11, 2020 (UTC)
See the starting frame: it's August. — Echoblast53 (talk | contributions) 20:48, December 12, 2020 (UTC)
Ah, I see what you mean now. So, it's not possible to go past the 30 days RC max? —Scott latest?cb=20200820192427 (talk) 22:13, December 12, 2020 (UTC)
It seems ineffective, otherwise. —Scott latest?cb=20200820192427 (talk) 13:44, December 20, 2020 (UTC)
see MediaWiki possible errors: this is a core issue with the API, and not with the script. (range is 90 days for fandom RC iirc) — Echoblast53 (talk | contributions) 16:22, 27 April 2021 (UTC)

UCX Compatibility[]

Just wanted to leave a note that tThe script seems compatible with UCX as I've been using it without any issues from what I have noticed so far. Dave247 (talk) 14:15, 28 July 2021 (UTC)

Alrighty, I have updated it from the Unknown status to Done status seeing that there are no complaints about it.) — Echoblast53 (talk | contributions) 20:44, 8 October 2021 (UTC)

MediaWiki 1.37 compatibility[]

Has anyone noticed this script having issues on wikis recently updated to MediaWiki 1.37? —Scott latest?cb=20200820192427 (talk) 14:43, 13 June 2022 (UTC)

Update, in case anyone else spots this... Talked to User:Dorumin on Discord and just awaiting cache purge and script review. —Scott latest?cb=20200820192427 (talk) 22:11, 13 June 2022 (UTC)
This still isn't working five days after Dorumin's code update. Is it work on other wikis with MediaWiki 1.37 or is it just me? There should be a mass patrol link here (may not show anyway unless you're Council, Staff, or Rep). —Scott latest?cb=20200820192427 (talk) 13:03, 18 June 2022 (UTC)
Advertisement