Description | Highlights "Mark this page as patrolled" link and blinks every seconds. |
---|---|
Author(s) | Aram |
Status | Stable |
First released | June 25, 2022 |
Version | 1.0 |
Updated | June 25, 2022 |
Browsers | Firefox, Chrome |
Skins | Vector |
Source | User:Aram/patrollinkHighlighter.css |
Patrol Link Highlighter is a simple CSS change to the patrollink
class which moves the "Mark this page as patrolled" or "Mark this file version as patrolled" link to the top-right of the unpatrolled page or file, highlights the link and blinks it every seconds.
Installation
editLocally
editOn English Wikipedia, add
importStylesheet("User:Aram/patrollinkHighlighter.css"); // Backlink: [[User:Aram/patrollinkHighlighter.css]]
to your common.js page and enjoy it!
If the above one doesn't work, try this:
mw.loader.load('/w/index.php?title=User:Aram/patrollinkHighlighter.css&action=raw&ctype=text/css', 'text/css'); // Backlink: [[User:Aram/patrollinkHighlighter.css]]
Globally
editIf you want to use this style on other wikis, add
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Aram/patrollinkHighlighter.css&action=raw&ctype=text/css', 'text/css');
to your global.js and enjoy it!
Warning
edit- Pure yellow and red colors are used so that the user can focus on it faster. If you are a colorblind user, we recommend you choose a better color from your own common.css page.
More
edit- The style is not tested on all skins and browsers.
- Due to the page limitations, the vendor prefixes are not added, but you can add them to your own common.css page.
- If you don’t see any changes as shown in the gif image above, then you are not in the
patroller
user group. See Wikipedia:Patroller. - Please try to upload a better gif file related to English Wikipedia because I didn't have the patroller right to upload an English version.
- Please feel free to make the style better. :)