MediaWiki:Gadget-GoogleTrans.js: Difference between revisions
Appearance
Content deleted Content added
use mw.loader.load |
m -unnecessary encoding: %3A and %2F can be replaced by : and /; - trailing comment with duplicate link: // User:Endo999/GoogleTrans.js |
||
Line 10: | Line 10: | ||
// imports [[User:Endo999/GoogleTrans.js]] |
// imports [[User:Endo999/GoogleTrans.js]] |
||
mw.loader.load('//en.wikipedia.org/enwiki/w/index.php?title=User |
mw.loader.load('//en.wikipedia.org/enwiki/w/index.php?title=User:Endo999/GoogleTrans.js&action=raw&ctype=text/javascript'); |
Latest revision as of 18:21, 28 July 2014
// _________________________________________________________________________________________
// | |
// | === WARNING: GLOBAL GADGET FILE === |
// | Changes to this page affect many users. |
// | Please discuss changes on the talk page or on [[Wikipedia_talk:Gadget]] before editing. |
// |_________________________________________________________________________________________|
//
// Translation tool that uses the "Google Translate" API.
// Opens a translation popup for selected text or word under the cursor when pushing the shift button.
// imports [[User:Endo999/GoogleTrans.js]]
mw.loader.load('//en.wikipedia.org/enwiki/w/index.php?title=User:Endo999/GoogleTrans.js&action=raw&ctype=text/javascript');