Jump to content

User:Aram/Patrol Link Highlighter

From Wikipedia, the free encyclopedia
Patrol Link Highlighter
"Mark this page as patrolled" link highlighted and blinks every seconds (on ckbwiki with changing the interface language to English).
DescriptionHighlights "Mark this page as patrolled" link and blinks every seconds.
Author(s)Aram
StatusStable
First releasedJune 25, 2022; 2 years ago (2022-06-25)
Version1.0
UpdatedJune 25, 2022; 2 years ago (2022-06-25)
BrowsersFirefox, Chrome
SkinsVector
SourceUser: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

[edit]

Locally

[edit]

On 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

[edit]

If 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. :)