Board Thread:Support Requests - Getting Technical/@comment-4368470-20190604020039/@comment-4368470-20190607235048

Andrewds1021 wrote: Here is the documentation for the MediaWiki JS. Coding JS, CSS, Lua, etc. for MediaWiki follows the same general rules, syntax, etc. as for any other application. There are, of course, modules/libraries/interfaces specific to MediaWiki to help interact with site content/information. One thing to note is that Wikia has removed some functions from languages like Lua for security reasons (like how you can't use the "a", "verbatim", or "iframe" tags when writing HTML directly). The only Wikia-specific thing you really need to be concerned with is how to import your custom code to run on your wiki.

Awesome, thank you so much, the code makes so much more sense now!

What is the best place to test out edited MediaWiki code without actually committing the changes to the real website? I am going to be adding this code to a fairly large wiki so I only want to make the final changes to the Common.js page once I am sure my code is complete and correctly functioning. Where do I go to test out MediaWiki-specific JavaScript code in a sandbox-like environment?