do i need to do something besides enable userjs?
i know my common.js works, because i use it for other things. Def working.
Maybe a problem with `importScript`?
This works:
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');
do i need to do something besides enable userjs?
i know my common.js works, because i use it for other things. Def working.
Maybe a problem with `importScript`?
importScript() won't work if you try to use a script from another wiki. See en:Wikipedia:User_scripts#Full_manual_instructions.
Still not seeing the expected new side-bar item. Tried all the following:
mw.loader.load('https://www.mediawiki.org/wiki/MediaWiki:Tutorial-QuickRC.js'); mw.loader.load('//www.mediawiki.org/wiki/MediaWiki:Tutorial-QuickRC.js');
This should work: mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');