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.

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



TwinkleConfig = {

        revertMaxRevisions              :       50,

        userTalkPageMode                :       'window',

        showSharedIPNotice              :       false,

        openTalkPage                    :        'agf', 'norm', 'vand' ],

        openTalkPageOnAutoRevert        :       false,

        summaryAd                       :       "",

        deletionSummaryAd               :       "",

        protectionSummaryAd             :       "",

        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          :       false,

        watchWarnings                   :       true,

        markAIVReportAsMinor            :       true,

        markSpeedyPagesAsMinor          :       true,

        offerReasonOnNormalRevert       :       true,

        orphanBacklinksOnSpeedyDelete   :       {orphan:false}

};



// Stub tag tab. By [[User:ais523]], on a request by [[User:thesublime514]].

// ([[User:ais523/stubtagtab.js]])

// <source lang="javascript">

addOnloadHook(function(){

  if(wgNamespaceNumber==0&&wgAction=="view")

  {

    if(document.getElementById("ca-edit"))

      mw.util.addPortletLink('p-cactions', 'javascript:stubtagtab()', 'stub', 'ca-stubtag',

                                   'Add a stub tag to this page', '');

  }

  if(location.href.indexOf("&autoaddstubtag=")!=-1&&document.getElementById('wpTextbox1')!=null)

  {

    var x=decodeURIComponent(location.href.split("&autoaddstubtag=")[1]);

    if(x=="") x="stub"; else x+="-stub";

    document.getElementById('wpTextbox1').value+="\n{"+"{"+x+"}}"; //add to the end of the article

    document.getElementById('wpSummary').value=

      "Tagging with {"+"{"+x+"}} using [[WP:US/S|user scripts]]";

    document.getElementById('wpPreview').click();

  }

});

 

function stubtagtab()

{

  var x=prompt("Which stub tag? (Leave blank for {"+

               "{stub}}; otherwise -stub will be added to the name)");

  if(x==null) return;

  location.href=mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+encodeURIComponent(mw.config.get('wgPageName'))+                                  

                "&action=edit&autoaddstubtag="+encodeURIComponent(x);

}

 

// </source> [[Category:Wikipedia scripts]]



addOnloadHook(function() {

  if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history

     return;

  if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {

     var username = encodeURIComponent( wgTitle );

     mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "contribs", "ca-contrib", "User contributions");

     mw.util.addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "count", "ca-editcount", "Edit count from Interiot's Tool1");

  }

});



importScript('User:TheJosh/Scripts/NewPagePatrol.js');



importScript('User:Ioeth/friendly.js');



FriendlyConfig = {

        summaryAd                       :       " using [[WP:FRIENDLY|Friendly]]",

        watchWelcomes                   :       true,

        markWelcomesAsMinor             :       true,

        watchTaggedPages                :       true,

        markTaggedPagesAsMinor          :       true,

        insertHeadings                  :       true,

        welcomeHeading                  :       "== Welcome ==",

        insertUsername                  :       true,

        insertSignature                 :       true

};



// [[User:Ais523/hidetopcontrib.js]]

// By a suggestion by [[User:Discospinster]]

 

// This script color-codes lines according to who has the top contribution for a page.

//<pre><nowiki>

 

function hidetopcontrib()

{

  var i,li,a;

  li=document.getElementById("bodyContent");

  li=li.getElementsByTagName("li");

  i=-1;

  a=new Array();

  while(++i<li.length)

  {

    var s,t;

    t=lii].innerHTML.match(/"\/wiki\/([^"]*)"/)[1];

    if(lii].getElementsByTagName("strong").length>0)

      s="none";

    else

      s="";

    if(at!=undefined) s=at]; else at=s;

    if(s!="") lii].style.display=(lii].style.display=="none"?"list-item":"none");

  }

}

 

addOnloadHook(function () {

  if((location.href.indexOf("Special:Contributions")!=-1||

      location.href.indexOf("Special%3AContributions")!=-1)

     &&location.href.indexOf("&ais523")==-1&&location.href.indexOf("?ais523")==-1)

    mw.util.addPortletLink('p-cactions', 'javascript:hidetopcontrib()', 'show/hide top', 'ca-hidetop',

                   "Show/hide pages for which you're the top contributor", '');

});

//</nowiki></pre>

//[[Category:Wikipedia scripts]]



// [[User:Krimpet/CH2.js]]

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



importScript("User:Lupin/recent2.js");



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



FurMeConfig = {

        actionOnSubmit                  :  'preview',

        imageRemovalMethod              :  'comment',

        openArticleMode                 :  'none',

        renameMethod                    :  'ifd',

        scrollerMax                     :  10,

        scrollerSkipDone                :  true,

        watchMyEdits                    :  false

};



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



importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');



importScript('User:Alex Smotrov/wlunwatch.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.

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



TwinkleConfig = {

        revertMaxRevisions              :       50,

        userTalkPageMode                :       'window',

        showSharedIPNotice              :       false,

        openTalkPage                    :        'agf', 'norm', 'vand' ],

        openTalkPageOnAutoRevert        :       false,

        summaryAd                       :       "",

        deletionSummaryAd               :       "",

        protectionSummaryAd             :       "",

        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          :       false,

        watchWarnings                   :       true,

        markAIVReportAsMinor            :       true,

        markSpeedyPagesAsMinor          :       true,

        offerReasonOnNormalRevert       :       true,

        orphanBacklinksOnSpeedyDelete   :       {orphan:false}

};



// Stub tag tab. By [[User:ais523]], on a request by [[User:thesublime514]].

// ([[User:ais523/stubtagtab.js]])

// <source lang="javascript">

addOnloadHook(function(){

  if(wgNamespaceNumber==0&&wgAction=="view")

  {

    if(document.getElementById("ca-edit"))

      mw.util.addPortletLink('p-cactions', 'javascript:stubtagtab()', 'stub', 'ca-stubtag',

                                   'Add a stub tag to this page', '');

  }

  if(location.href.indexOf("&autoaddstubtag=")!=-1&&document.getElementById('wpTextbox1')!=null)

  {

    var x=decodeURIComponent(location.href.split("&autoaddstubtag=")[1]);

    if(x=="") x="stub"; else x+="-stub";

    document.getElementById('wpTextbox1').value+="\n{"+"{"+x+"}}"; //add to the end of the article

    document.getElementById('wpSummary').value=

      "Tagging with {"+"{"+x+"}} using [[WP:US/S|user scripts]]";

    document.getElementById('wpPreview').click();

  }

});

 

function stubtagtab()

{

  var x=prompt("Which stub tag? (Leave blank for {"+

               "{stub}}; otherwise -stub will be added to the name)");

  if(x==null) return;

  location.href=mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+encodeURIComponent(mw.config.get('wgPageName'))+                                  

                "&action=edit&autoaddstubtag="+encodeURIComponent(x);

}

 

// </source> [[Category:Wikipedia scripts]]



addOnloadHook(function() {

  if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history

     return;

  if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {

     var username = encodeURIComponent( wgTitle );

     mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "contribs", "ca-contrib", "User contributions");

     mw.util.addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "count", "ca-editcount", "Edit count from Interiot's Tool1");

  }

});



importScript('User:TheJosh/Scripts/NewPagePatrol.js');



importScript('User:Ioeth/friendly.js');



FriendlyConfig = {

        summaryAd                       :       " using [[WP:FRIENDLY|Friendly]]",

        watchWelcomes                   :       true,

        markWelcomesAsMinor             :       true,

        watchTaggedPages                :       true,

        markTaggedPagesAsMinor          :       true,

        insertHeadings                  :       true,

        welcomeHeading                  :       "== Welcome ==",

        insertUsername                  :       true,

        insertSignature                 :       true

};



// [[User:Ais523/hidetopcontrib.js]]

// By a suggestion by [[User:Discospinster]]

 

// This script color-codes lines according to who has the top contribution for a page.

//<pre><nowiki>

 

function hidetopcontrib()

{

  var i,li,a;

  li=document.getElementById("bodyContent");

  li=li.getElementsByTagName("li");

  i=-1;

  a=new Array();

  while(++i<li.length)

  {

    var s,t;

    t=lii].innerHTML.match(/"\/wiki\/([^"]*)"/)[1];

    if(lii].getElementsByTagName("strong").length>0)

      s="none";

    else

      s="";

    if(at!=undefined) s=at]; else at=s;

    if(s!="") lii].style.display=(lii].style.display=="none"?"list-item":"none");

  }

}

 

addOnloadHook(function () {

  if((location.href.indexOf("Special:Contributions")!=-1||

      location.href.indexOf("Special%3AContributions")!=-1)

     &&location.href.indexOf("&ais523")==-1&&location.href.indexOf("?ais523")==-1)

    mw.util.addPortletLink('p-cactions', 'javascript:hidetopcontrib()', 'show/hide top', 'ca-hidetop',

                   "Show/hide pages for which you're the top contributor", '');

});

//</nowiki></pre>

//[[Category:Wikipedia scripts]]



// [[User:Krimpet/CH2.js]]

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



importScript("User:Lupin/recent2.js");



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



FurMeConfig = {

        actionOnSubmit                  :  'preview',

        imageRemovalMethod              :  'comment',

        openArticleMode                 :  'none',

        renameMethod                    :  'ifd',

        scrollerMax                     :  10,

        scrollerSkipDone                :  true,

        watchMyEdits                    :  false

};



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



importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');



importScript('User:Alex Smotrov/wlunwatch.js');

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook