Jump to content

User:Matthewedwards/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.
// <nowiki>
MakeReviewerConfig = {
groupReason : "User can be trusted with reviewer",
sectionHeader : "You are now a Reviewer",
sectionBody : "{{subst\:reviewer-notice}} ~~\~~"
};

importScript("User:Amalthea/MakeReviewer.js");
importScript('User:NuclearWarfare/Mark-blocked script.js')

importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]

importScript('User:ais523/editcount.js');

importScript('User:Voice of All/UTCclock.js'); 

importScript('User:Howcheng/quickimgdelete.js');

importScript('User:Ais523/watchlistnotifier.js');

importScript('User:Alex_Smotrov/edittop.js');
if (mw.config.get('wgAction')=='edit' && document.URL.indexOf('&section=0') != -1)
$(function(){
document.getElementById('wpSummary').value = "/* Lede Section */ ";
})

if (mw.config.get('wgCanonicalSpecialPageName') && mw.config.get('wgCanonicalSpecialPageName')=='Log')
importScript('User:Alex_Smotrov/logpage.js')

importScript('User:Alex_Smotrov/histcomb.js');

if (mw.config.get('wgAction')=='edit' || mw.config.get('wgAction')=='submit')
importScript('User:Alex Smotrov/qpreview.js');

importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
allSpaces_PR = true;
toolbarLink_PR = true;
toolbar_PR = "personal";
width_PR = 1000;
spellcheck_PR = true;

importScript('User:AzaToth/twinkle.js');
TwinkleConfig = {
  revertMaxRevisions              :       50,
  userTalkPageMode                :       'tab',
  showSharedIPNotice              :       true,
  openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
  openTalkPageOnAutoRevert        :       true,
openAOLAnonTalkPage             :       false,
  summaryAd                       :       " ([[WP:TW|TW]])",
  deletionSummaryAd               :       " ([[WP:TW|TW]])",
  protectionSummaryAd             :       " ([[WP:TW|TW]])",
  watchSpeedyPages                :       [ ],
  watchProdPages                  :       true,
  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            :       false,
  markSpeedyPagesAsMinor          :       false,
  offerReasonOnNormalRevert       :       true
};

importScript('User:Cameltrader/Advisor.js');

importScript('User:Dispenser/Link checker/toolbox.js');

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

importScript('User:Dschwen/highlightredirects.js');

importScript('user:js/watchlist.js')

importScript('User:Jsimlo/shortcuts.js');
function shortcutsInit ()
{
  shortcutsAddLink ( 'Monobook.js', 'Special:Mypage/monobook.js' );
  shortcutsAddLink ( 'Monobook.css', 'Special:Mypage/monobook.css' );
  shortcutsAddLink ( 'Scripts', 'Wikipedia:WikiProject User scripts/Scripts' );
  shortcutsAddLink ( 'wikEd', 'User:Cacycle/wikEd' );
  shortcutsAddLink ( 'Twinkle', 'Wikipedia:WikiProject User scripts/Scripts/Twinkle' );
  shortcutsAddLink ( 'Friendly', 'Wikipedia:WikiProject User scripts/Scripts/Friendly' );
  shortcutsAddLink ( 'New pages', 'Special:Newpages' );
  shortcutsAddLink ( 'AIV', 'Wikipedia:Administrator intervention against vandalism' );
  shortcutsAddLink ( 'Help desk', 'Wikipedia:Help desk' );
}

importScript('User:Lightmouse/monobook.js/script.js');

importScript('User:Splarka/dabfinder.js');

importScript('User:TheDJ/qui.js');

importScript('User:AzaToth/morebits.js');
importScript('User:Ioeth/friendlyshared.js');
importScript('User:Ioeth/friendlytabs.js');
importScript('User:Ioeth/friendlytag.js');
importScript('User:Ioeth/friendlytalkback.js');
importScript('User:Ioeth/friendlywelcome.js');

FriendlyConfig = {  
  topWelcomes            			:  true,
  summaryAd               :  " ([[WP:FRIENDLY|Friendly]])",
};

importScript('User:Tra/sidebartranslate.js');

importScript('User:Voice_of_All/Revert.js');

importScript('User:Voice of All/Addtabs/monobook.js');

importScript('User:Voice of All/History/monobook.js');

if (mw.config.get('wgCanonicalNamespace')!='User' && mw.config.get('wgCanonicalNamespace')!='User talk')
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');

importScript('MediaWiki:WikiProject User scripts/Scripts/Compare link.js');

if (mw.config.get('wgAction')=='edit' || mw.config.get('wgAction')=='submit')
importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');

importScript('User:Magnus Manske/LinkFixr.js')

importScript('User:Brighterorange/punctuation.js ')

importScript('User:Voice_of_All/Specialadmin/monobook.js');

importScript('User:Animum/reset.js');

importScript('User:Mr.Z-man/patrollinks.js');

importScript('User:Krimpet/CH2 en.js'); // [[User:Krimpet/CH2.js]]

importScript("User:Animum/easyblock.js"); //[[User:Animum/easyblock.js]]

importScript('User:MBisanz/monobookrfa.js');
importScript('User:Animum/urlparameters.js');
 
function addrfacatlinks() {
var lis = document.getElementById("bodyContent").getElementsByTagName("ul")[0].getElementsByTagName("li");
for(i=0;i<lis.length;i++) {
var li = lis[i];
var href_ = li.getElementsByTagName("a")[0].href.replace(/\/wiki\//i, "/w/index.php?title=");
var href = href_ + "&action=edit&rfacat=";
li.innerHTML += " (<a href=\"" + href + "redir\">redirect</a>) (<a href=\"" + href + "success\">sucessful</a>) (<a href=\"" + href + "failed\">unsuccessful</a>)";
}
}
 
if(mw.config.get('wgPageName') == "User:MBisanz/RFAlist2") addOnloadHook(addrfacatlinks);
 
function decodeURLParams(param) {
switch(param) {
case "redir"   : return "[[:Category:Redirects to requests for adminship]]";
break;
case "success" : return "[[:Category:Successful requests for adminship]]";
break;
case "failed"  : return "[[:Category:Unsuccessful requests for adminship]]";
break;
}
}
 
$(function() {
if(document.title.indexOf("Editing Wikipedia:Requests for adminship/") != -1 && UrlParameters["action"] == "edit" && UrlParameters["rfacat"].length > 0) {
var cat = decodeURLParams(UrlParameters["rfacat"]);
document.forms["editform"].wpTextbox1.value += "\n" + cat;
document.forms["editform"].wpSummary.value = "Script-assisted categorization";
document.forms["editform"].wpMinoredit.checked = false;
document.forms["editform"].submit(); //Submit
}
});

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

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

importScript('User:AWeenieMan/furme.js');

importScript('User:AWeenieMan/furmeScroller.js');
// </nowiki>