Forum:Importing a gadget

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help

I would like to import the reference tooltips gadget from Wikipedia to this wiki and this wiki, but I don't have the permission for Special:Import, only staff and interns do. Could you please help me with that? Thank you in advance. - Ver-mont (talk) 12:18, 12 February 2019 (UTC)

You can just copy Mediawiki:Gadget-ReferenceTooltips.js and Mediawiki:Gadget-ReferenceTooltips.css to your wiki, no need to import. Another alternative is to add following lines to Mediawiki:Gadget-ReferenceTooltips.js (or common.js):
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css', 'text/css' );
--miki-- (talk) 14:07, 12 February 2019 (UTC)