patroller
Browsers .
Skins *
Code .
Released March 27, 2008 (2008-03-27)
Updated May 8, 2022; 2 years ago (2022-05-08)
Developer   AlexSm

Multifunctional script for new pages patrollers; features can be selectively disabled.


1. Special:NewPages is replaced with a sortable table.
  • / button can be used to switch back to ordinary list
  • comment ←Created page with 'ABC...' is shortened into ABC...
  • [+patrol] button adds direct [patrol] links which could be used to quickly mark pages as patrolled without opening them first


2. patrol tab on articles
  • apppears on all relatively new articles (even already patrolled) next to watch tab
  • marks page as patrolled
  • can be used when standard [Mark this page as patrolled] link already disappeared (after your edit) and you don't want to go back in your browser history


3. In-page patrolling
  • page is marked as patrolled Ajax-style, just like «watch/unwatch» tab
  • note that this does not save any traffic, as this could only be done pseudo-Ajax way


Demo

edit

Test the script now: open Special:NewPages or any new article,
paste this into browser address field and press Enter:
javascript:importScript('user:js/patroller.js')


Parameters

edit
ptMaxPages=1 disable NewPages table on page load (still can be displayed later)
ptNoPatrolTab=true disable patrol tab
ptNoInPagePatrolling=true disable pseudo-Ajax in-page patrolling
newPagesCSS extra CSS for NewPages table, for example this will make the whole row yellow (instead of just 1st column)

newPagesCSS = 'tr.not-patrolled {background:#FFFFAA}'


Installation

edit

Add this to your skin's .js page:
importScript('user:js/patroller.js');

Example:

ptNoInPagePatrolling=true
importScript('user:js/patroller.js')