Jump to content

User:Joeytje50/shortLink

From Wikipedia, the free encyclopedia

This script allows you to view the shortest possible links that lead to the page you're viewing at the moment. Just press accesskey+s on your keyboard to open the popup that shows a list of the shortest urls. The link to open the popup is also available in the toolbox at the sidebar, below the "What links here" link.

Note: The accesskey+s shortcut does not work in situations where there's an editbox on the page, since that shortcut is then reserved for the "Save Page" button.

To install this script, simply add importScript('User:Joeytje50/shortLink.js') to your /common.js subpage. This script currently only works for the English and French Wikipedia. Other languages will either use interlanguage links in combination with http://enwp.org/, or just use a full link to the wiki itself in the case of pageid links. If you know any other URL shorteners that work in a similar way to http://enwp.org/WP:Example, please contact me on my talk page.