I created a new MediaWiki project and it's likely I'll need to call some MediaWiki JS scripts from English Wikipedia (I'd prefer to call them instead copy-paste them in MedaiWiki:Common.js).

Is it possible to call a MediaWiki JS script from Wikipedia?


Possible although not necessarily a good practice. You can use mw.loader.load or jQuery.getScript or any other normal script loading method.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy