User:StefenTower/ArticleLinkDiffs
| Description | Shows a summary of added and removed article links at the top of diff pages |
|---|---|
| Author | StefenTower |
| Status | Beta |
| First released | May 21, 2026 |
| Updated | May 23, 2026 (see history) |
| Skins |
|
| Source |
ArticleLinkDiffs (source) shows a summary of added and removed article link instances at the top of diff pages. Links are shown in a modern presentation using cards (clickable visual containers). The presentation displays well in either light or dark mode.
If link errors are caught, they will be displayed as well. Currently, the script will catch incomplete links (those not having the expected "]]" end brackets).
If no article links were added or removed in a diff, and no link errors are caught, nothing will be displayed.
This script is useful for comparing article link changes in articles, templates, database reports, and any page that contains internal links to articles (mainspace pages, to be precise).
Notes:
- Only bracketed links are considered when processing differences. Other forms of specified links, such as disambiguation links in hatnotes or "author-link=" within citations, are not considered at this time.
- Performance may be sluggish when used on some diffs of very long pages, typically database reports, especially upon first report generation or a generation taking place after a database error has been addressed.
This script is currently beta software. It is ready for use by the public and should work very well but it may receive bug fixes and refinements before full release. It is currently tested only with the Vector skin, and should be used with some caution to ensure the results are as expected. Please check diffs carefully, and report any problems. |
Installation
[edit]To install the script, add the line:
{{subst:lusc|User:StefenTower/ArticleLinkDiffs.js}}
Or to install on all Wikimedia wikis, add:
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:StefenTower.ArticleLinkDiffs.js&action=raw&ctype=text/javascript"); // [[w:User:StefenTower/ArticleLinkDiffs]]