User:Shahadat/link-deleted-revs
Jump to navigation
Jump to search
Author(s) | Shahadat |
---|---|
Status | Stable |
Updated | April 25, 2023 |
Browser support | Firefox |
Skin support | Vector |
Source | User:Shahadat/link-deleted-revs.js |
On error pages for deleted revisions, show a link to the Special:Undelete page. For example, this revision was deleted, but visiting that page with this script running will add a link to Special:Undelete with the appropriate timestamp.
Caution! If there are multiple revisions in the same second, this script (and MediaWiki) can only show the first one. Such is life.
Note: This script is useless for those without permission to view Special:Undelete, so if you're not an admin you probably don't want to install this.
Installation instructions
Hint: It's much easier if you get ScriptInstaller, then navigate to User:Shahadat/link-deleted-revs.js and click "Install" at the top.
However, here's the manual method:
- Place
{{subst:iusc|User:Shahadat/link-deleted-revs.js}}
on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js. - Clear your cache and enjoy!
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:Enterprisey/link-deleted-revs |