User:Persian Poet Gal/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
//<pre><nowiki>
 
function winc(s) {
    s = s.replace(/^\[\[/, '').replace(/\]\]$/, '');
    document.write('<script type="text/javascript" src="'
             + 'http://en.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}
 
importScript('User:Persian Poet Gal/vandal.js');
importScript("User:Tra/userwatchlist.js");
importScript('User:John254/AFD closure/monobook.js');
importScript('User:Alex_Smotrov/qpreview.js');
 
sigText = '~~' + '~~' //dash instead of --
importScript('Wikipedia:WikiProject User scripts/Scripts/qSig')
 
TwinkleConfig = {
        summaryAd                       :       " using [[WP:TWINKLE|TW]]",
        deletionSummaryAd               :       " using [[WP:TWINKLE|TW]]",
        protectionSummaryAd             :       " using [[WP:TWINKLE|TW]]",
        userTalkPageMode                :       'tab',
        watchSpeedyPages                :       [ ],
        watchRevertedPages              :       [ ],
        watchWarnings                   :       false
};
 
addOnloadHook(function() {
  addPortletLink('p-navigation','/wiki/User:Persian Poet Gal/AdminToolbox','Admin Toolbox','t-Admin Toolbox','Admin Toolbox');
  addPortletLink('p-navigation','/wiki/User:Persian Poet Gal/Quicklist','Quicklist','t-Quicklist','Quicklist');
  addPortletLink('p-navigation','/wiki/Special:Log/newusers','User creation log','t-User creation log','User creation log');
  addPortletLink('p-navigation','/wiki/Special:Log/move','Move log','t-Move log','Move log');
  addPortletLink('p-navigation','/wiki/Special:ListUsers','List Users','t-List Users','List Users');
  addPortletLink('p-navigation','/wiki/Special:NewPages','New Pages','t-New Pages','New Pages');
});
 
//</nowiki></pre>