MediaWiki:Common.js

MediaWiki interface page
Revision as of 21:32, 16 March 2019 by Zakharov (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */

/* mw.loader.load('https://www.zd10.net/new_wiki/skins/pivot/assets/scripts/vendor/jquery.js&action=raw&ctype=text/javascript' ); */
/* mw.loader.load('https://www.zd10.net/new_wiki/skins/pivot/assets/scripts/foundation/foundation.js&action=raw&ctype=text/javascript' ); */

jQuery(document).ready(function() {
    jQuery(document).foundation(function(response) {
        if (window.console)
            console.log(response.errors);
    });
    jQuery("#pt-notifications").prependTo("#echo-notifications-alerts");
    jQuery("#pt-notifications-message").prependTo("#echo-notifications-messages");
    jQuery("#pt-notifications-alert").prependTo("#echo-notifications-alerts");
    jQuery("#pt-notifications-notice").prependTo("#echo-notifications-notice");
});
We collect cookies to analyze our website traffic and performance; we never collect any personal data.