User:A5b/monobook.js

// importScript('User:Lupin/popups.js', 'en');

// iwiki sorting // if (!mw.config.get('wgUserName') //    || (mw.config.get('wgUserName') //      && (((typeof mw.config.get('wgLangPrefs') == 'undefined') ? false : true) //            || ((typeof mw.config.get('wgAddLangHints') == 'undefined') ? false : mw.config.get('wgAddLangHints')) //           || ((typeof mw.config.get('wgUseUserLanguage') == 'undefined') ? false : mw.config.get('wgUseUserLanguage'))))) //   importMW('Interwiki-links');

// Add WP:Reflinks launcher in the toolbox on left addOnloadHook(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "//toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName') + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'), "Reflinks" // link label )}); var mw.config.get('wgLangPrefs'); if (!mw.config.get('wgLangPrefs')) mw.config.get('wgLangPrefs') = Array; wgLangPrefs.push("de"); wgLangPrefs.push("he"); wgLangPrefs.push("ru");