Jump to content

User:Kxx/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kxx (talk | contribs) at 02:16, 16 May 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
(function() {
    var window = this, document = window.document, mw = window.mw;
    window.insertBanner = function() {};
    // window.importScript('User:Kxx/fix images.js');
    window.importScript('User:Kxx/comments in local time.js');
    window.mathJax = {
        fontDir: 'http://cdn.mathjax.org/mathjax/latest/fonts'
    };
    window.importScript('User:Nageh/mathJax.js');
    if (window.navigator.userAgent.indexOf('iPhone') === -1)
        window.$('.smallcaps, .SMALLCAPS').css({
            fontVariant: 'normal',
            fontFeatureSettings: '"kern", "liga", "smcp"'
        });
    var script = document.createElement('script');
    script.src = mw.config.get('wgScript') + '?title=' + mw.util.wikiUrlencode('User:Kxx/fix images.js') + '&action=raw&ctype=text/javascript';
    script.async = false;
    document.head.appendChild(script);
})();