urlDecoder button

 [http://meta.wikime…
 [[meta:Page]]

urldecoder
Browsers *
Skins *
Code urldecoder.js
Released April 24, 2009; 14 years ago (2009-04-24)
Updated March 7, 2015; 9 years ago (2015-03-07)
Developer   AlexSm

urldecoder is a userscript for easy pasting of links into wikicode.

How to use it:

http://de.wikipedia.org/wiki/Ding this page|
[[:de:Ding|this page]]

The script will:

The script will simplify all URLs inside the text you select; it is not limited to processing a single url.

Installation

Add this to your js file:

// [[user:js/urldecoder]]
importScript('user:js/urldecoder.js');

For other MediaWiki projects:

mw.loader.load('//en.wikipedia.org/w/index.php?title=user:js/urldecoder.js&action=raw&ctype=text/javascript');

Notes

Optional parameters

urlDecoderKey = 'c' //accesskey (works only in old toolbar)
urlDecoderIntLinks = true //also try to simplify existing [[internal links]] in selected text

See also