Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/he7d3r/mw-gadget-shortdiff

Script to shorten diff links
https://github.com/he7d3r/mw-gadget-shortdiff

Last synced: 5 days ago
JSON representation

Script to shorten diff links

Awesome Lists containing this project

README

        

Installation
===========================

1. Go to one of the js subpages of your user page. You can choose a page such as these:
* [meta:User:``/global.js](https://meta.wikimedia.org/wiki/Special:MyPage/global.js), which will be loaded in all wikis, in all skins
* [meta:User:``/common.js](https://meta.wikimedia.org/wiki/Special:MyPage/common.js), which will be loaded only on Meta-wiki, in all skins
* [meta:User:``/vector.js](https://meta.wikimedia.org/wiki/Special:MyPage/vector.js), which will be loaded only on Meta-wiki, in the vector skin
2. Copy the following to the page you have chosen:

```javascript
// [[File:User:He7d3r/Tools/ShortDiff.js]] (workaround for [[phab:T35355]])
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:He7d3r/Tools/ShortDiff.js&action=raw&ctype=text/javascript' );
```

3. Clear the cache of your browser.

This will import the minified copy of the script I maintain on Meta-wiki.