User:Aksi great/monobook.js

// Helper tools mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js'             + '&action=raw&ctype=text/javascript&dontcountme=s'); //

// Admin tools document.write(' ');

//

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

//Twinkle

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

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

// tagger function commonsOK { if (document.editform) { document.editform.wpTextbox1.value += "\n"; document.editform.wpSummary.value = ""; document.editform.submit; } else document.location = mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + wgPageName + "&action=edit&commonsOK=1"; } function addCommonsOK{ if (wgCanonicalNamespace == "Image") mw.util.addPortletLink("p-cactions", "javascript:commonsOK", "", ""); if (document.location.href.indexOf("commonsOK=1") > 0) commonsOK; } $(addCommonsOK);