User:Daniel Quinlan/Scripts/Unfiltered
{{infobox user script
| name = Unfiltered
| desc = Provides an unfiltered view of user edit activity.
| author = {{u|Daniel Quinlan}}
| updated = {{#time:j F Y|{{REVISIONTIMESTAMP|User:Daniel Quinlan/Scripts/Unfiltered.js}}}}
| status = Beta
| skins = Vector 2022
| browsers = Firefox, Safari, Chrome
| source = Unfiltered.js
}}
Unfiltered provides a complete view of user edit activity by displaying edit filter hits, including removed and unsuccessful edits. Deleted contributions are also shown for administrators.
Features
- Abuse filter display: Edit filter hits are shown on user contributions pages.
- Hidden edits revealed: Contributions that triggered one or more edit filters and that never resulted in a revision or were later removed are reconstructed and inserted into the contributions timeline.
- Warning linking: Edit filter warnings are connected to any subsequent edits.
- IP range support: Handles multiple users appearing on the same contributions page.
- Deleted contributions integration: Deleted revisions are inserted into the contributions timeline (administrators only).
Usage
The script automatically activates on:
- Special:Contributions
- Special:DeletedContributions (administrators only)
Filter hits are appended to each contribution:
- Filter color coding is based on the action: disallow, warn, CAPTCHA, and tag.
- Hover over abuse filter numbers to see full filter descriptions (private filters will be displayed with descriptions rather than numbers for users without access to private filters).
- Click filter numbers to view the corresponding abuse log entry.
- Timestamps for deleted revisions link to the Special:Undelete page for the edit (administrators only).
Inserted contributions are displayed with one of the following labels:
- No revision: Edits that were never saved, including those disallowed by a filter, failed CAPTCHA attempts, and edits where the user abandoned the change after being shown a warning.
- Deleted: The revision was saved and later deleted. Visible only to administrators.
- Removed: Any other edits that have been removed. The most common case is deleted edits for non-administrators.
Click on the collapse/expand toggle in the top-right corner of the contributions form to hide or show inserted contributions.
Installation
To install the Unfiltered script, follow these steps: {{Ordered list|In your preferences, go to {{myprefs|Gadgets}}. At the bottom of the "Advanced" section, click the "{{delink|{{int:Gadget-script-installer}}}}" checkbox, then click the "Save" button.|Return to this page and click the blue "Install" button.}}
Alternatively, you can manually install it by adding the following code to your common.js file:
{{subst:iusc|User:Daniel Quinlan/Scripts/Unfiltered.js}}
Notes
- Some information about private filter matches is only shown to administrators and other authorized users.
- Filter hits for removed contributions are only shown if they appear in the abuse filter log.