Jump to content

Topic on Talk:Gadget kitchen

QuickChange Not Working

5
Summary by Johnywhy

This works:

mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');
Johnywhy (talkcontribs)

do i need to do something besides enable userjs?

Gadget kitchen#I want to try!

i know my common.js works, because i use it for other things. Def working.

Maybe a problem with `importScript`?

V111P (talkcontribs)
Johnywhy (talkcontribs)

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');

V111P (talkcontribs)

This should work: mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');

Johnywhy (talkcontribs)

i updated the doc. Feel free to revise my text.