User:Jmlk17/monobook.js

// CSD AutoReason importScript('User:^demon/csd.js');

importScript("User:Voice_of_All/Addtabs/monobook.js");

importScript("User:Voice_of_All/UTCclock.js");

importScript('User:AzaToth/twinkle.js');

TwinkleConfig = { revertMaxRevisions             :       50, userTalkPageMode               :       'window', showSharedIPNotice             :       true, openTalkPage                   :       [ 'agf', 'norm', 'vand' ], openTalkPageOnAutoRevert       :       false, openAOLAnonTalkPage            :       false, summaryAd                      :       " using TW", deletionSummaryAd              :       " using TW", protectionSummaryAd            :       " using TW", watchSpeedyPages               :       [ 'g3', 'g5', 'g10', 'g11', 'g12' ], watchProdPages                 :       true, openUserTalkPageOnSpeedyDelete :       [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ], watchRevertedPages             :       [ ], markRevertedPagesAsMinor       :       [ 'agf', 'norm', 'vand', 'torev' ], deleteTalkPageOnDelete         :       true, watchWarnings                  :       false, markAIVReportAsMinor           :       true, markSpeedyPagesAsMinor         :       true, offerReasonOnNormalRevert      :       true, orphanBacklinksOnSpeedyDelete  :       true };

importScript('User:AzaToth/morebits.js'); importScript('User:AzaToth/twinklesalt.js');

//////////STATUS CHANGER // Creator: Misza13 // Credits: Voyagerfan5761 for some minor improvements $(function { var subpage = "/Status";  var scheme = "/StatusTemplate";  var linkprefix = mw.config.get('wgServer')+mw.config.get('wgScript')+"?title=User:";  //Add the links  addLink("p-personal", linkprefix+wgUserName+subpage+"&action=edit&newstatus=in", "In", "pt-status-in", "I'm in!", "", "pt-logout");  addLink("p-personal", linkprefix+wgUserName+subpage+"&action=edit&newstatus=busy", "Busy", "pt-status-busy", "I'm busy!", "", "pt-logout");  addLink("p-personal", linkprefix+wgUserName+subpage+"&action=edit&newstatus=out", "Out", "pt-status-out", "I'm out!", "", "pt-logout");  if (location.href.indexOf("&action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?  //Get new status  statusRegExp = /&action=edit&newstatus=(.*)/;  status = statusRegExp.exec(location.href)[1];  //Modify the form  document.getElementById('wpTextbox1').value = "";  switch (status) {    case 'in':   status_cmt = 'Jmlk17 is online now.'; break; case 'busy': status_cmt = 'Jmlk17 is busy.'; break; case 'out': status_cmt = 'Jmlk17 is offline.'; break; } document.getElementById('wpSummary').value = status_cmt; //Submit it! document.getElementById('editform').submit; }); //