MediaWiki:Gadget-ZkontrolovanoUcitelem.js: Porovnání verzí

(Obsah stránky nahrazen textem „mw.hook( 've.activationComplete' ).add(function(){ });“)
 
(Není zobrazeno 13 mezilehlých verzí od 2 dalších uživatelů.)
Řádek 1: Řádek 1:
mw.hook( 've.activationComplete' ).add(function(){
+
/*!
 +
* 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 */
});
 

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 */