MediaWiki:Gadget-ZkontrolovanoUcitelem.js: Porovnání verzí
Řádek 15: | Řádek 15: | ||
*/ | */ | ||
− | mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Matma_Rex/visualeditor-signature.js&action=raw&ctype=text/javascript'); | + | /*mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Matma_Rex/visualeditor-signature.js&action=raw&ctype=text/javascript');*/ |
/*global $, mw, ve, OO */ | /*global $, mw, ve, OO */ |
Aktuální verze z 9. 7. 2015, 22:21
/*!
* This script adds a "Your signature" button to the "Insert" menu in VisualEditor.
*
* The button is only available in non-content namespaces and, you guessed it, inserts a signature
* with time for the current user into the page. The signature always reflects current time and
* can not be modified.
*
* Existing signatures on the page are not parsed, like in wikitext.
*
* To enable, add the following snippet to your common.js page (on any wiki):
* mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Matma_Rex/visualeditor-signature.js&action=raw&ctype=text/javascript');
*
* Author: Bartosz Dziewoński ([[User:Matma Rex]])
* Released under the terms of the MIT license.
*/
/*mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Matma_Rex/visualeditor-signature.js&action=raw&ctype=text/javascript');*/
/*global $, mw, ve, OO */