user:js/patroller
From Wikipedia, the free encyclopedia
< User:Js
| patroller | |
|---|---|
| Browsers | IE 6/7, Opera 9, Firefox 1.5/2, Safari 3 |
| Skins | * |
| Languages | en |
| Code | patroller.js |
| Released | March 27, 2008 |
| 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
[edit] Demo
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')
[edit] Parameters
| 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)
|
[edit] Installation
Add this to your monobook.js (unless you use some other skin)
importScript('user:js/patroller.js')
Example:
ptNoInPagePatrolling=true importScript('user:js/patroller.js')

