User:Rots61/common.js: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor |
|||
mw.loader.using('mediawiki.util', function() { |
|||
(function () |
|||
mw.util.addPortletLink('p-tb', |
|||
{ |
|||
'https://wikikids.nl/' + encodeURIComponent(mw.config.get('wgPageName')), |
|||
var script = document.createElement('script'); |
|||
'WikiKids', '#wikikidslink', mw.config.get('wgPageName') + " op WikiKids"); |
|||
script.src = 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'; |
|||
}) |
|||
script.async = true; |
|||
document.getElementsByTagName('head')[0].appendChild(script); |
|||
} |
|||
) (); |
Revision as of 21:37, 15 November 2022
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
(function ()
{
var script = document.createElement('script');
script.src = 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
script.async = true;
document.getElementsByTagName('head')[0].appendChild(script);
}
) ();