Open-ended Recent Changes tool [ORC]
Still in the rather early stage of active development. May destroy The Internet. Use it at your own risk! ...and please give feedback then.
This patrol-focused tool was designed to give you the possibility to scroll through an endless amount of recent changes, while giving as much overview and context information as possible at a glance and allowing easy and efficient usage.
It's best suited to browse large portions of the recent changes, not for real-time watching of the newest ones.
- Browse back in time through the whole recent_changes table, either checking all changes (hence the name) or jumping back by any amount of time
- Display all recent changes on a page at once (i.e. all from the recent_changes, not just those from the last RC search result); indicate whether all are patrolled
- Display rich information about edits (full diffs inline, highlighted critical tags, ...) and pages (Wikidata labels/descriptions, sandbox page marker, ...) at a glance
- Identify subjects at a glance
- On Wikidata, by showing the label/description, the sitelinks (incl. preview popup), and the most important statements
- On other projects, by showing a preview of the introduction of the page
- Touch-friendly UI designed for good overview
- Provide an on-page log display that lists all your performed actions (reverts, patrols, ...) and their results to allow quick re-evaluation of own actions
- Easy to patrol individual edits or all unpatrolled edits of a user or on a page; automatic patrols upon revert, undo, restore or thank
- Ignore certain users, to avoid getting flooded by edits you can't judge
- No accidental reverts: Requires a second confirmation click for all destructive actions
- Uses MediaWiki's new recent changes filter component to allow comfortable filtering, store filter configurations, etc. Also supports its tag coloring, which is highly recommended to use.
- Revert, undo or restore changes without opening a new tab, to allow reducing number of tabs especially on mobile devices. Opens all other links in new tabs/windows, preventing accidentally losing the session by opening a link in the same tab.
- Automatically reloads the history after actions like revert, allowing you to check for missed edits oder erroneous reverts
- Indicate when and which fallback languages are used to display Wikidata labels and descriptions, to allow better identification of subjects and evaluation of label/description changes
- Color-coding different IPs, so it will be easier to distinguish two similar but different IPs
- Device-independent, no installation needed. Transparent, actual executed code visible and editable (for admins) on meta.wikipedia.org, easy to fork
|The tool still misses a lot of the planned features and most parts of its documentation, may contain more serious bugs and relevant glitches than it should and will change its behaviour without prior notice. It performs many API requests in the background and is therefor not recommended to be used with a bandwith cap plan.|
MediaWiki's new recent changes filter component is used, so if you have disabled this in your settings ("Hide the improved version of Recent Changes"; or haven't enabled it where it still is a beta feature), the tool won't be fully usable.
In your vector.js / common.js / global.js / whatever, insert the following lines:
Still to come.
Not convinced? You might be interested in existing approaches to design RC tools (thanks to all their authors and contributors!):
- Huggle by Addshore, Petrb et al. [installation required]
- LiveRC by Dr Brains
- ra·un by Kenrick95
- Real-Time Recent Changes (RTRC) by Krinkle
- Vandal Fighter by Henna [installation required]
- STiki by west.andrew.g [installation required]
- Wikidata Recent Changes (reCh) by Pasleim
In case of errors, please check developer console and the tool's own error log (if possible, even the verbose log that can be enabled in the settings) and try to submit any suspicious entries along with your error report. If the error only happened at some specific page or revision, you should provide this information, too.
You want to change something yourself in the code or this documentation: Go ahead!
You want to fork the tool and develop it in your own way? Great! Please inform me about it, though (see #Feedback for contact).
The code can be found at User:YMS/orc.js.
The code contains a bunch of
FIXMEs, which point to smaller issues and tweaks that should be handled sometime soon. Planned bigger features and changes which will require more development work are not listed there, but instead here:
- Fix several severe scrolling issues observed on mobile browsers:
- Clicks are sometimes registered on the wrong y position after scrolling
- Chrome on smartphone is jumping heavily when scrolling (especially when scrolling up the first time per page -> browser jumps to the end of the page)
- Preload diffs, labels and patrol state in background for next page to speed up pagination and avoid resizing of components
- This should seriously speed up using the tool
- Also may solve the scrolling issues, which are probably coming from the resizing due to AJAX loading of contents
- Support pending changes
- Offer additional filters for edit on labels/escriptions/statements, etc. (see Yair Rand; could even be extended e.g. by allowing to filter for specific statements)
- More specific filters, e.g. "Ignore text changes in languages not in fallback chain", "Ignore changes on items about villages"?
- Persist settings; settings should be saved, and tool should offer to begin at the time the last check ended
- Optional autopatrol feature that automatically patrols all edits on sandbox pages or that have been reverted already
- Single edit mode, where not the history is loaded but just the one edit that was found by the filter
- Log: "Open page in ORC" button (similar to user mode; or more simply: just jump back to that page)
- Also check CVN scores (https://meta.wikimedia.org/wiki/Countervandalism_Network / explained at https://www.mediawiki.org/wiki/User:Krinkle/Patrolling#Initiatives)
- Infinite scrolling (mode)?
- Externalize script part that creates the page header for Wikidata pages and make it usable standalone, e.g. in search results pages?
- Translations (as soon as code is stable)
- Option: merge edit series: reduce multiple consecutive revisions by the same user to one, showing diff over all, concatenating all summaries
- AutoDesc feature for Wikidata items that don't have any valuable labels/descriptions set. Will only be implemented if function is exported from labelcollect or autodesc.
- 18 February 2017: User:YMS started prototype development
- 2 October 2017: Started complete rewrite
- 25 December 2017: Public beta phase started
For a complete version history, see orc.js version history.
- and are allowed to do it technically, i.e. your an admin on Meta-Wiki