User:4nn1l2/decodeURI
Jump to navigation
Jump to search
Description | Decodes URIs |
---|---|
Author | 4nn1l2 |
Status | Stable |
First released | August 17, 2021 |
Version | 1 |
Browser support | Firefox, Chrome |
Skin support | Vector |
Source | User:4nn1l2/decodeURI.js |
decodeURI script adds an icon () to your editing toolbar. When you select/highlight some text in the editing box and click on the icon, it decodes all URIs in the selected text only. But if you don't select any text and just click on the icon, it will decode all URIs in the editing box. In any case, it also inserts an appropriate edit summary automatically.
Click on the third icon above and URIs get decoded. It's especially useful for non-Latin writing scripts such as Arabic and Cyrillic.
Installation
[edit]Add the following to your common.js:
mw.loader.load('/w/index.php?title=User:4nn1l2/decodeURI.js&action=raw&ctype=text/javascript');