Jump to content

User:BoomerAB/monobook.js

From Wikipedia, the free encyclopedia
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.
importScript('User:AzaToth/twinkle.js');
importScript('User:John254/mass rollback.js')
importScript('User:Misza13/statusChanger.js');
importScript('User:Animum/liveclock.js');

// adds a 'logs for this page' link to the toolbox bar
// if the page is a special page, then no link is displayed

addOnloadHook(function () {
    if ( wgCanonicalNamespace == "Special" )
        return;  // don't display link for special pages

    url = wgServer + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));

    mw.util.addPortletLink("p-tb", url, "Page logs", "pt-logs");
});

//