Description | Easily remove orphan tags |
---|---|
Status | Stable |
First released | December 13, 2018 |
Version | 1.1 |
Updated | 21 November 2023 |
Skin support | Vector |
Source | User:DannyS712/deOrphan.js |
Creates an unobtrusive interface to remove {{orphan}} tags from articles, or any other tag that adds a page to Category:Orphaned articles, along with the ability to set the minimum number of incoming links needed for the interface to appear.
Based off of User:Technical 13/Scripts/OrphanStatus.js. I made the following changes:
- Move the interface from directly to the right of the title to the left side of the page
- Remove the • symbols entirely
- Allow the option to set the minimum number of incoming links for the interface to appear (see below)
- Customization
- Insert
var user_orphan_cutoff = X;
into your common.js page, on the line before your inclusion of my script - Set "X" to be the minimum number of incoming links required for the interface to appear:
- 0 - if there are no incoming links, a note of this will appear
- 1 - if there is at least 1 incoming link, a note of this will appear, including the option to see "what links here" and a "deOrphan" button to remove the tag
- 2 - if there are at least 2 incoming links, a note of this will appear, including the option to see "what links here" and a "deOrphan" button to remove the tag
- If this set to anything less than 0, it will be treated as 0
- If this is set to anything above 2, only pages with at least 3 incoming links will show the interface
- If this is not set, the default is requiring at least 1 incoming link
- Importation
This script can be imported to skin.js or common.js by adding:importScript('User:DannyS712/deOrphan.js'); // [[User:DannyS712/deOrphan.js]]
or{{subst:Iusc|User:DannyS712/deOrphan.js}}
🔥 Top keywords: Main PageSpecial:SearchIndian Premier LeagueWikipedia:Featured picturesPornhubUEFA Champions League2024 Indian Premier LeagueFallout (American TV series)Jontay PorterXXXTentacionAmar Singh ChamkilaFallout (series)Cloud seedingReal Madrid CFCleopatraRama NavamiRichard GaddDeaths in 2024Civil War (film)Shōgun (2024 miniseries)2024 Indian general electionJennifer PanO. J. SimpsonElla PurnellBaby ReindeerCaitlin ClarkLaverne CoxXXX (film series)Facebook2023–24 UEFA Champions LeagueYouTubeCandidates Tournament 2024InstagramList of European Cup and UEFA Champions League finalsJude BellinghamMichael Porter Jr.Andriy LuninCarlo AncelottiBade Miyan Chote Miyan (2024 film)