Jump to content

MediaWiki:Gadget-mobile-sidebar.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Edokter (talk | contribs) at 13:57, 13 October 2014 (Create Mobile sidebar preview gadget). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Imported from version 2014-10-10 from [[meta:User:Brion VIBBER/mobile-sidebar.js]]
 *
 * Mobile sidebar preview gadget
 * Quick hack to show how pages look on mobile while browsing the desktop site.
 */
mw.loader.load('//meta.wikimedia.org/wiki/User:Brion_VIBBER/mobile-sidebar.css?action=raw&ctype=text/css', 'text/css');
mw.loader.load('//meta.wikimedia.org/wiki/User:Brion_VIBBER/mobile-sidebar.js?action=raw&ctype=text/javascript', 'text/javascript');