MediaWiki:Mobile.js

/* All JavaScript here will be loaded for users of the mobile site */ function importScript { if ( !mw.cookie.get( 'ImportScriptWarning' ) ) { mw.notify($(' ').html('You are running a gadget or user script that uses the importScript function which is unsupported on mobile. Please review your code and the mw:ResourceLoader/Migration_guide.')); // set a session cookie mw.cookie.set( 'ImportScriptWarning', 'yes', 0 ); } } window.importScript = importScript;