User:MaskX247/Scripts/RedLinks Counter

User:MaskX247/Scripts/RedLinks Counter

Installation guide

← Previous revision Revision as of 09:04, 20 April 2026
Line 6: Line 6:
| version = 2.0
| version = 2.0
}}
}}
---
----
This script checks whether if there are any red links in a page, if so, it returns the number of red links in that page and their link target(s). To view all redlinks in a page:
>>> This script checks whether if there are any red links in a page, if so, it returns the number of red links in that page and their link target(s). To view all redlinks in a page:
* On the left toolbar look for the "Red Links ([number])" portlet.
* On the left toolbar look for the "Red Links ([number])" portlet.
* Click on the portlet link, after that you'll be able to view all the redlinks in a page.
* Click on the portlet link, after that you'll be able to view all the redlinks in a page.
----
== Installation ==
It's much easier if you get [[User:Enterprisey/script-installer|ScriptInstaller]], then navigate to [[User:MaskX247/Scripts/RedLinks Counter.js]] and click "Install" at the top.

Here's the manual method:
* Paste: {{subst:[[Template:Install user script|iusc]]|User:MaskX247/Scripts/RedLinks Counter.js}} or {{subst:[[Template:Load user script|lusc]]|User:MaskX247/Scripts/RedLinks Counter.js}} to your [[Special:MyPage/common.js|common.js]] page or a specific skin's page like [[Special:MyPage/vector.js|vector.js]].
* [[WP:BYC|Clear your cache]] and enjoy.