User:Anomie/watchlist-change-style-selector
This script allows for selecting different methods of displaying unseen changes on the Special:Watchlist and on history pages.
Available styles for the watchlist include:
- No indicator – hides all change indication (currently the enwiki default).
- Bold – Bolds the page title (currently the MediaWiki default).
- Green stars – Display a small green star (File:Pentagram dis.svg) before the page title.
- Stars and bold – Bolds the title and displays a small green star.
- Italic – Display the page title in italics.
- Subtle underscore – Underlines the page title, like this.
- Color change – Changes the page link color to teal.
- Small 'c' ("changed") – Displays a small "c" before the title (may not work in some older browsers).
- Highlight – Highlight the entire entry with a pale blue background.
- Faded old changes – Reduces the opacity of unchanged entries, leaving the changed entries in full force (may not work in some older browsers).
- Green bullet – Uses a different bullet (File:ChangedBulletVector.png) on changed entries.
Available styles for history pages include:
- No indicator – hides all change indication.
- Default green tag - Displays {{int:updatedmarker}} near the end of the line (currently the MediaWiki default).
- Bright green tag – Displays {{int:updatedmarker}} near the end of the line.
- Dull green tag – Displays {{int:updatedmarker}} near the end of the line (currently the Wikimedia Commons default).
- Green text tag – Displays {{int:updatedmarker}} near the end of the line (currently the enwiki default).
- Bold – Bolds the change date.
- Green stars – Display a small green star (File:Pentagram dis.svg) before the change date.
- Stars and bold – Bolds the change date and displays a small green star.
- Italic – Display the entire line in italics.
- Subtle underscore – Underlines the change date, like this.
- Color change – Changes the change date link color to teal.
- Small 'c' ("changed") – Displays a small "c" before the change date (may not work in some older browsers).
- Highlight – Highlight the entire entry with a pale blue background.
- Faded old changes – Reduces the opacity of unchanged entries, leaving the changed entries in full force (may not work in some older browsers).
- Green bullet – Uses a different bullet (File:ChangedBulletVector.png) on changed entries.
Usage
To use the script, add the following to your common.js.
importScript('User:Anomie/watchlist-change-style-selector.js'); // Linkback: User:Anomie/watchlist-change-style-selector.js
importStylesheet('User:Anomie/watchlist-change-style-selector.css'); // Linkback: User:Anomie/watchlist-change-style-selector.css
Once enabled, a selection box will appear on your watchlist in the "{{int:watchlist-options}}" box and on history pages just underneath the [//en.wikipedia.org/wiki/Main_page?action=history#histlegend legend]. Selecting a value from the selection box will immediately change the style applied to the page.