User:Kaldari/common.js

/* Ajax recent changes and patrolling framework, version [0.0.6a] Originally from: http://en.wikipedia.org/wiki/User:Splarka/ajaxrecentchanges.js

Note:
 * Patrol flags/links will sometimes show up where patrolling is not enabled.
 * This was a bug in the API that generated patrol tokens too often.
 * Fixed in r49000

Todo:
 * Checkbox for batch patrolling

Wontdo:
 * Parse comments
 * Add (talk|contribs|block) links, click their name, lazy
 * Localize error messages or focus on the log message 'logaction' (wrong tense, but it works fine).

if ( !window.arc_i18n ) { var arc_i18n = { 'title': 'Ajax recent changes', 'desc': 'Paginated enhanced ajax recent changes and patrolling.', 'mypatrol': 'My patrol log', 'startstamp': 'Start timestamp (8601)', 'limit': 'Limit', 'showapb': 'Show ajax patrol buttons', 'filterflag': 'Filter by flag', 'minor': 'Minor', 'bot': 'Bot', 'anon': 'Anon', 'redirect': 'Redirect', 'patrolled': 'Patrolled', 'all': 'All', 'filtertype': 'Filter by type', 'edit': 'Edits', 'new': 'New pages', 'log': 'Logs', 'filterns': 'Filter by namespace', 'fetch': 'Fetch', 'noresults': 'Nothing found.', 'diff': 'diff', 'hist': 'hist', 'patrolbtn': 'Patrol', 'logsuffix': ' log', 'patroldone': 'done', 'nsmain': 'MAIN' }; }

$( function {

} );