User:Cheeseskates/global.js

////////////////////////////////////////////////////////////////////////////////

//———————————————————————————————————————————————————————————————————————————— // Direct JavaScript code. /* Direct Javascript code is here either because a page does not exist for it  here on Wikia's and Wikimedia's domain or if I want to customize it. It is  large and slow, but completely customizable. When there is a code/etc.js page with the code, please put the page name into ImportArticles at the bottom of  this page instead. */ //————————————————————————————————————————————————————————————————————————————

////////////////////////////////////////////////////////////////////////////////

/**/ ///————————————————————— Major Direct JavaScript code ———————————————————————/// /**/

////////////////////////////////////////////////////////////////////////////////

/* -- -- */ ////////////////////////////////////////////////////////////////////////////////
 * * Name:       AjaxUndo                                                    |
 * * Author:     Grunny & Cqm (Modified by Dorumin)                          |
 * * Description: Grants the ability to Undo edits in ajax.                  |
 * * Changes:    Dorumin had modified it to prompt a summary before the undo |
 * takes place. It also supports quickdiff, so it appears as  |
 * an option.                                                 |
 * * Status:     Standardized                                                |
 * takes place. It also supports quickdiff, so it appears as  |
 * an option.                                                 |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |

(function (a) {   function l(c) {        return a("").text("AJAX Undo").attr("href", "#").click(function  { var b = a(this), f = /&undo=([^&]*)/.exec(c)[1], g, e = wgServer + wgScriptPath + "/api.php?action=query&prop=info|revisions&intoken=edit&titles=" + encodeURIComponent(wgPageName) + "&format=json", d = a("#mw-diff-ntitle2 .mw-userlink").html || b.closest("li").find(".mw-userlink").html || "nil", h = prompt("Undo summary", "Undo revision " + f + " by " + d + " (talk)"); null !== h && (h || (h = "Undo revision " + f + " by " + d + " (talk)"), b.html(' '), a.getJSON(e, function (c) { g = c.query.pages[wgArticleId].edittoken; a.ajax({                   url: wgScriptPath + "/api.php?",                    data: "action=edit&format=json&title=" + encodeURIComponent(wgPageName) + "&undo=" + encodeURIComponent(f) + "&bot=1&summary=" + encodeURIComponent(h) + "&token=" + encodeURIComponent(g),                    dataType: "json",                    type: "POST",                    success: function (a) {                        a.edit && "Success" === a.edit.result ? b.text("(undone)") : a.error && "undofailure" === a.error.code ? (b.text("(error)"), alert(a.error.info)) : (b.text("(error)"), alert("Error: Unknown result from API."));                    },                    error: function  {                        b.text("(error)");                    }                }); }));       });    }    a(window).click(function (c) { var b = a(c.target); if (a.find.matchesSelector(b[0], '#quickdiff-modal a[data-action="undo"]')) { c.preventDefault; var f = b.attr("href"); c = /&undo=([^&]*)/.exec(f)[1]; var f = /\/wiki\/([^?]*)/.exec(f)[1], g = mw.user.tokens.get("editToken"), e = a("#quickdiff-modal .diff-ntitle .mw-userlink").html || "nil", d = prompt("Undo summary", "Undo revision " + c + " by " + e + " (talk)"); null !== d && (d || (d = "Undo revision " + e + " by " + e + " (talk)"), b.html(' '), a.ajax({ url: wgScriptPath + "/api.php?", data: "action=edit&format=json&title=" + encodeURIComponent(f) + "&undo=" + encodeURIComponent(c) + "&bot=1&summary=" + encodeURIComponent(d) + "&token=" + encodeURIComponent(g), dataType: "json", type: "POST", success: function (a) { a.edit && "Success" === a.edit.result ? b.text("(undone)") : a.error && "undofailure" === a.error.code ? (b.text("(error)"), alert(a.error.info)) : (b.text("(error)"), alert("Error: Unknown result from API.")); },               error: function  { b.text("(error)"); }           }));        }    });    if (a(".mw-history-undo > a").length && "history" === wgAction) {        a(".mw-history-undo > a").each(function  { var c = a(this).attr("href"), c = l(c); a(this).replaceWith(c); });   } else {        if (a("table.diff").length && "undefined" !== typeof a.getUrlVar("diff")) {            var m = a("table.diff").find(".diff-ntitle > #mw-diff-ntitle1 a:last"),                k = m.attr("href"),                k = l(k);            m.replaceWith(k);        }    } })(window.jQuery);

////////////////////////////////////////////////////////////////////////////////

/* -- -- */ ////////////////////////////////////////////////////////////////////////////////
 * * Name:       Cross-wiki Rollback kit                                     |
 * * Author:     Ozank Cx; Modified by Ditto Creeper Bot                     |
 * * Description: Make the contributions page refresh like AjaxRC and have a |
 * WHAM button that works with the rollback script.           |
 * * Changes:    Thread:680 on botcentral                                    |
 * * Status:     Standardized                                                |
 * * Changes:    Thread:680 on botcentral                                    |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |

function RCRevert { mw.loader.using("mediawiki.api", function {        var b = {            init: function  {                $(".mw-rollback-link").length || ("history" === mw.config.get("wgAction") && 1 < $("#pagehistory li").length ? $("#pagehistory li:first .mw-history-undo a").before(' rollback | ') : "Contributions" === mw.config.get("wgCanonicalSpecialPageName") ? $("#mw-content-text ul").find("li").each(function {                    $(this).find(".mw-uctop").length && $(this).append(' [rollback] ');                }) : ($.getUrlVar("diff") || $.getUrlVar("oldid")) && 0 === $("#differences-nextlink").length && $(".mw-usertoollinks:last").after('    [rollback] '), $(".mw-custom-rollback-link a").click(function  {                    b.getRevisionIdAndContent($(this).attr("data-id"));                    $(this).parent.remove;                }));            },            getRevisionIdAndContent: function (f) { var c = new mw.Api; c.get({                   action: "query",                    prop: "revisions",                    titles: f,                    rvprop: "user|ids",                    rvlimit: 500,                    cb: (new Date).getTime                }).done(function (e) {                    if (e.error) {                        (new BannerNotification("Unable to rollback (failed to get revisions): " + e.error.code, "error")).show;                    } else {                        var d, a;                        for (a in e.query.pages) {                            d = e.query.pages[a].revisions;                        }                        var h = d[0].user,                            g, k;                        for (a in d) {                            if (d[a].user !== h) {                                g = d[a].user;                                k = d[a].revid;                                break; }                       }                        g ? c.get({                           action: "query",                            prop: "revisions",                            rvprop: "content",                            revids: k,                            cb: (new Date).getTime                        }).done(function (a) {                            if (a.error) {                                (new BannerNotification("Unable to rollback (failed to get page content): " + a.error.code, "error")).show;                            } else {                                var c = "",                                    d;                                for (d in a.query.pages) {                                    a.query.pages[d].revisions && (c = a.query.pages[d].revisions[0]["*"]);                                }                                b.performRollback(f, c, h, g);                            }                        }).fail(function  { (new BannerNotification("Unable to rollback: failed to get page content!", "error")).show; }) : (new BannerNotification("Unable to rollback: no different editor found!", "error")).show;                   }                }).fail(function  {                    (new BannerNotification("Unable to rollback: failed to get revisions!", "error")).show;                }); },           performRollback: function (b, c, e, d) { (new mw.Api).post({                   action: "edit",                    title: b,                    text: c,                    summary: " ",                    token: mw.user.tokens.values.editToken                }).done(function (a) {                    a.error ? (new BannerNotification("Unable to rollback (failed to publish edit): " + a.error.code, "error")).show : (new BannerNotification("Rollback successful!", "confirm")).show;                }).fail(function  {                    (new BannerNotification("Unable to rollback: failed to publish edit!", "error")).show;                }); }       };        b.init; }); }

function ContribRC { var b = $(" "), f = location.href.replace(/#[\S]*/, ""); b.load(f + " #mw-content-text", function {        var c = b.children("#mw-content-text");        c.length && ($("#mw-content-text").replaceWith(c), mw.util.$content = c);    }); b.remove; } var username = mw.config.get("wgUserName"), page = mw.config.get("wgPageName"); $(".UserProfileMasthead .masthead-avatar .avatar").click(function {    $("#contentSub").append('Wham | ');    $("#contentSub").append(' Start RC |  ');    $("#contentSub").append(' Stop RC  '); });

function whamhere { !0 === confirm("Wham?") ? $("span.mw-custom-rollback-link a").each(function {        var b = $(this).attr("href");        $.get(b);        $(".mw-custom-rollback-link a").click;    }) : alert("Canceled!"); }

////////////////////////////////////////////////////////////////////////////////

/* -- -- */ ////////////////////////////////////////////////////////////////////////////////
 * * Name:       Rollback                                                    |
 * * Author:     Ozank Cx                                                    |
 * * Description: Grants the ability to Rollback edits without the right.    |
 * * Changes:    No edit summary.                                            |
 * * Status:     Standardized                                                |
 * * Changes:    No edit summary.                                            |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |

mw.loader.using("mediawiki.api", function {    var f = {        init: function  {            $(".mw-rollback-link").length || ("history" === mw.config.get("wgAction") && 1 < $("#pagehistory li").length ? $("#pagehistory li:first .mw-history-undo a").before(' rollback | ') : "Contributions" === mw.config.get("wgCanonicalSpecialPageName") ? $("#mw-content-text ul").find("li").each(function {                $(this).find(".mw-uctop").length && $(this).append(' [rollback] ');            }) : ($.getUrlVar("diff") || $.getUrlVar("oldid")) && 0 === $("#differences-nextlink").length && $(".mw-usertoollinks:last").after('    [rollback</a>] '), $(".mw-custom-rollback-link a").click(function  {                f.getRevisionIdAndContent($(this).attr("data-id"));                $(this).parent.remove;            }));        },        getRevisionIdAndContent: function (d) {            var e = new mw.Api; e.get({               action: "query",                prop: "revisions",                titles: d,                rvprop: "user|ids",                rvlimit: 500,                cb: (new Date).getTime            }).done(function (c) {                if (c.error) {                    (new BannerNotification("Unable to rollback (failed to get revisions): " + c.error.code, "error")).show;                } else {                    var b, a;                    for (a in c.query.pages) {                        b = c.query.pages[a].revisions;                    }                    var h = b[0].user,                        g, k;                    for (a in b) {                        if (b[a].user !== h) {                            g = b[a].user;                            k = b[a].revid;                            break;                        }                    } g ? e.get({                       action: "query",                        prop: "revisions",                        rvprop: "content",                        revids: k,                        cb: (new Date).getTime                    }).done(function (a) {                        if (a.error) {                            (new BannerNotification("Unable to rollback (failed to get page content): " + a.error.code, "error")).show;                        } else {                            var b = "",                                c;                            for (c in a.query.pages) {                                a.query.pages[c].revisions && (b = a.query.pages[c].revisions[0]["*"]);                            }                            f.performRollback(d, b, h, g);                        }                    }).fail(function  {                        (new BannerNotification("Unable to rollback: failed to get page content!", "error")).show; }) : (new BannerNotification("Unable to rollback: no different editor found!", "error")).show;               }            }).fail(function  {                (new BannerNotification("Unable to rollback: failed to get revisions!", "error")).show;            }); },       performRollback: function (d, e, c, b) { (new mw.Api).post({               action: "edit",                title: d,                text: e,                summary: " ",                token: mw.user.tokens.values.editToken            }).done(function (a) {                a.error ? (new BannerNotification("Unable to rollback (failed to publish edit): " + a.error.code, "error")).show : (new BannerNotification("Rollback successful!", "confirm")).show;            }).fail(function  {                (new BannerNotification("Unable to rollback: failed to publish edit!", "error")).show;            }); }   };    f.init; });

//////////////////////////////////////////////////////////////////////////////// /* -- -- */ ////////////////////////////////////////////////////////////////////////////////
 * * Name:       Unused files auto-cleanup                                   |
 * * Author:     Dorumin                                                     |
 * * Description: Delete unused images in batch.                             |
 * * Status:     Standardized                                                |
 * * Description: Delete unused images in batch.                             |
 * * Status:     Standardized                                                |
 * * Status:     Standardized                                                |

$(function {    "Special:UnusedFiles" === mw.config.get("wgPageName") && ($(".mw-spcontent").find("p").first.append(' Delete unused</a>'), $("#btn-delete-unused").click(function  {        var b = new mw.Api,            e = mw.user.tokens.get("editToken");        unusedFiles = $("#filesnames-list-textarea").val.split(/\n/g).filter(Boolean);        var c = prompt("Delete reason (cancel to exit script)", "Unused.");        null !== c && $.each(unusedFiles, function (f, a) { b.get({               action: "query",                list: "backlinks",                bltitle: a            }).done(function (d) {                d.error ? console.log("UnusedFilesDelete: failed while getting backlinks from " + a + ".") : d.query.backlinks.length || b.post({ action: "delete", title: a,                   reason: c,                    bot: "true", token: e               }).done(function (b) { b.error ? console.log("UnusedFilesDelete: found an exception while deleting " + a + ": " + b.error.code) : console.log("UnusedFilesDelete: " + a + " has been deleted successfully!"); }).fail(function { console.log("UnusedFilesDelete: found an exception while deleting " + a + "."); });           }).fail(function  {                console.log("UnusedFilesDelete: failed while getting backlinks from " + a + ".");            }); });   })); });

////////////////////////////////////////////////////////////////////////////////

/**/ ///————————————————————— Minor Direct JavaScript code ———————————————————————/// /**/

////////////////////////////////////////////////////////////////////////////////

// Add a history button on diff pages $('strong:contains("Changes:")').length && $("#WikiaPageHeader").find("p").children("a").after(' (history)</a>');

// Clears the delete additional reason box if it's an autosummary $(function {    if (wgAction && "delete" === wgAction) {        var a = document.getElementsByName("wpReason")[0];        a && 0 === a.value.search("content was") && (a.value = "");    } });

// Global navbar modifications window.globalLinks = { global: { "User"       : "Special:Mypage", "Talk"       : "Special:Mytalk", "Contribs"   : "Special:MyContributions", "Admins"     : "Special:ListAdmins", "Activity"   : "Special:RecentChanges?hidepatrolled=0&hidebots=0", "Maintenance" : "Special:Maintenance", "Torus"      : "Special:Torus", "Purge"      : "%page%?action=purge", "Raw"        : "%page%?action=raw", "Help"       : "Help:Index", "Contact"    : "Special:Contact", },   community: { "JS"         : "Special:Mypage/global.js", "CSS"        : "Special:Mypage/global.css", }, };

// Highlight whitespace characters in diffs when they're the only thing that was changed -1 !== window.location.href.indexOf("diff=") && $(".diffchange-inline").each(function {    /\S+/.test($(this).text) || $(this).css("background-color", "red"); });

// Prevent the editor from loading when opening a redlink page $(function {    var a = $('a[href$="?action=edit&redlink=1"]');    a.attr("href") && a.attr("href", a.attr("href").replace("?action=edit&redlink=1", "")); });

////////////////////////////////////////////////////////////////////////////////

//// // ——————————————————— End Direct Import JavaScript Code ———————————————————— // ////

////////////////////////////////////////////////////////////////////////////////

//———————————————————————————————————————————————————————————————————————————— // Script Configurations /* All of the confgurations below contribute to how the JavaScript imports function. It only works with imports like this, not direct JavaScript code, hence why it is in between here and the mentioned section above. */ //————————————————————————————————————————————————————————————————————————————

////////////////////////////////////////////////////////////////////////////////

// AjaxRC: Used to Make imputted pages refresh in Ajax. window.ajaxRefresh           = 1E3; window.AjaxRCRefreshText     = 'Auto-refresh'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; window.ajaxPages = [

//// // ——————————————————— Temporary Watchlist (for vandals) ———————————————————— // //// //Add below when necessary.

/*———————————————————————————————————————————————————————————————————————————————— ———————————————————————————————————————————————————————————————————————————————— /* ////* English (en) *//// "Special:WikiActivity", "Special:RecentChanges", "Special:Watchlist", "Special:AbuseLog", "Special:Log", "Special:Log/upload", "Special:Images", "Special:Videos", "Special:Newwikis", "Report:Vandalism", "Report:Spam", "Report:User profile headers", "Report:Users and IPs needing checked",
 * // Interlanguage Wiki Pages //                           |
 * Note 1: The order is according to the Language Brigade Wiki.                    |
 * Note 2: The first language name is the English word. The second language        |
 * name is the language's word/original word. The two letters after are the        |
 * abbreviations for the second language names.                                    |
 * 1. Always add the language names in this order: English word -> Original ↓      |
 * -> Abbreviation (e.g. fr for french)                                            |
 * 2. Always add the page names in this order: WikiActivity -> RecentChanges -> Log |
 * Note 3: The Chinese and Romanian's WikiActivity are the same as the English     |
 * WikiActivity page, and the Brazilian Portuguese (including their Log page),     |
 * Catalan, Galician, and occitan's WikiActivity are the same as the Spanish       |
 * WikiActivity page. Because of this, They are not added to prevent duplication.  |
 * WikiActivity page, and the Brazilian Portuguese (including their Log page),     |
 * Catalan, Galician, and occitan's WikiActivity are the same as the Spanish       |
 * WikiActivity page. Because of this, They are not added to prevent duplication.  |

////* German (Deutsch) (de) *//// "Spezial:WikiActivity", "Spezial:Letzte_Änderungen", "Spezial:Logbuch",

////* Spanish (Español) (es) *//// "Especial:WikiActivity", "Especial:CambiosRecientes", "Especial:Registro",

////* Suomi (Finnish) (fi) *//// "Toiminnot:WikiActivity", "Toiminnot:Tuoreet_muutokset", "Toiminnot:Loki",

////* French (Français) (fr) *//// "Spécial:WikiActivity", "Spécial:Modifications_récentes", "Spécial:Journal",

////* Italian (Italiano) (it) *//// "Speciale:WikiActivity", "Speciale:UltimeModifiche", "Speciale:Registri",

////* Japanese (日本語) (ja) *//// "特別:WikiActivity", "特別:最近の更新", "特別:ログ",

////* Korean (한국어) (ko) *//// "특수기능:위키활동내역", "특수기능:최근바뀜", "특수기능:기록",

////* Nederlands (nl) *//// "Speciaal:WikiActivity", "Speciaal:RecenteWijzigingen", "Speciaal:Logboeken",

////* Polish (Polski) (pl) *//// "Specjalna:Aktywność_na_wiki", "Specjalna:Ostatnie_zmiany", "Specjalna:Rejestr",

////* Brazilian Portuguese (Português do Brasil) (pt-br) *//// "Especial:Mudanças_recentes",

////* Russian (Русский) (ru) *//// "Служебная:WikiActivity", "Служебная:RecentChanges", "Служебная:Log",

////* Vietnamese (Tiếng Việt) (vi) *//// "Đặc_biệt:Hoạt_động_wiki", "Đặc_biệt:Thay_đổi_gần_đây", "Đặc_biệt:Nhật_trình",

////* Chinese (中文) (zh) *//// "Special:最近更改", "Special:日志",

////* Chinese (Taiwan) ( 中文(台灣) ) (zh-tw) *//// "特殊:WikiActivity", "特殊:近期變動", "特殊:日誌",

////* Afrikaans (af) *//// "Spesiaal:WikiActivity", "Spesiaal:Onlangse_wysigings", "Spesiaal:Logboek",

////* Arabic (العرب) (ar) *//// "خاص:WikiActivity", "خاص:أحدث_التغييرات", "خاص:سجل",

////* Belorussian (Беларуская) (be) *//// "Адмысловае:WikiActivity", "Адмысловае:RecentChanges", "Адмысловае:Log",

////* Bulgarian (Български) (bg) *//// "Специални:WikiActivity", "Специални:Последни_промени", "Специални:Дневници",

////* Catalan (Català) (ca) *//// "Especial:Canvis_recents", "Especial:Registre",

////* Greek (Ελληνικά) (el) *//// "Ειδικό:WikiActivity", "Ειδικό:ΠρόσφατεςΑλλαγές", "Ειδικό:Μητρώο",

////* Estonia (Eesti) (et) *//// "Eri:WikiActivity", "Eri:Viimased_muudatused", "Eri:Logid",

////* Farsi (فارسی) (fa) *//// "ویژه:WikiActivity", "ویژه:تغییرات_اخیر", "ویژه:سیاهه‌ها",

////* Galician (Galego) (gl) *//// "Especial:Cambios_recentes", "Especial:Rexistros",

////* Hungarian (Magyar) (hu) *//// "Speciális:WikiActivity", "Speciális:Friss_változtatások", "Speciális:Rendszernaplók",

////* Indonesian (Bahasa Indonesia) (id) *//// "Istimewa:WikiActivity", "Istimewa:Perubahan_terbaru", "Istimewa:Catatan",

////* Limburg (Limburgs in Dutch) (li) *//// /* Note: Wikiactivity is the same as the Nederlands' WikiActivity page, so it is not included. */ "Speciaal:Lètste_verangeringe", "Speciaal:Logbeuk",

////* Lithuanian (Lietuvių) (lt) *//// "Specialus:WikiActivity", "Specialus:Naujausi_keitimai", "Specialus:Sąrašas",

////* Norwegian Bokmål ( ‪Norsk (bokmål) ‬) (no) *//// "Spesial:WikiActivity", "Spesial:Siste_endringer", "Spesial:Logg",

////* Occitan (oc) *//// "Especial:Darrièrs_cambiaments", "Especial:Jornal",

////* Romanian (Română) (ro) *//// "Special:Schimbări_recente", "Special:Jurnal",

////* Serbian / serbian (Српски / Srpski) (sr) *//// "Посебно:WikiActivity", "Посебно:СкорашњеИзмене", "Посебно:Извештај",

////* Ukrainian (Українська) (uk) *//// "Спеціальна:WikiActivity", "Спеціальна:RecentChanges", "Спеціальна:Log",

//// // —————————————————————————— End AjaxRC Section ———————————————————————————— // ////

];

// AjaxDelete Configuration window.AjaxDelete = { deleteReasons: { "w:Help:Vandalism"      : "Vandalism", "w:Help:Spam"           : "Spam", "Marked for speedy deletion" : "Speedy", "Empty page"                : "Empty", "Author's request"          : "Author request", "Irrelevant to " : "Irrelevant", },   imageDeleteReasons: { "Offensive"                 : "Offensive", "inappropriate"             : "inappropriate", "Harassment"                : "Harassment", "Housekeeping/Unused"       : "Unused", "Copyright infringement"    : "Copyright", "Author's request"          : "Author request" },   autoCheckWatch: false, noUndelete: true };

// CacheCheck Configuration /* Add between the brackets the pages this script does not activate on. */ window.cacheSkip = [];

/* The number of links it will check and cross out before going no futher. */ window.cacheSkipLimit = 1E3;

/* I'm not entirely sure what this does, so I left it blank. */ window.topLevelCat = "";

// Fast Delete Configuration var fdButtons = [];          /*  Delete Summaries --- */ /* Button Labels */ fdButtons[fdButtons.length] = {"summary" : "spam",          "label" : "S"     }; fdButtons[fdButtons.length] = {"summary" : "Duplicate",                     "label" : "D"     }; fdButtons[fdButtons.length] = {"summary" : "Housekeeping",                  "label" : "HK"    }; fdButtons[fdButtons.length] = {"summary" : "Cleanup",                       "label" : "C"     }; fdButtons[fdButtons.length] = {"summary" : "Unused",                        "label" : "U"     }; fdButtons[fdButtons.length] = {"summary" : "Unofficial/Irrelevant",         "label" : "UI"    }; fdButtons[fdButtons.length] = {"summary" : "ToU", "label" : "ToU"   }; fdButtons[fdButtons.length] = {"summary" : "No reason yet.",                "label" : "Other" };

// Quick MW and UP Greeting Configuration /* This is the text that the script will fill my pages with. */ var qtMessageWallGreetingTemplate       = " __NOINDEX__"; var qtUserPageTemplate                  = " __NOINDEX__";

/* This makes the script overwrite the content existing on the page. */ var qtEnableMessageWallGreetingOverwrite = true; var qtEnableUserPageOverwrite           = true;

// RailWAM Configuration window.railWAM = { // This creates the WAM Log page under my user namespace. logPage:"User:Cheeseskates/WAM Log" };

// WHAM Configuration /* WHAM bots me by default */ WHAMBotMe = true;

/* Default reason */ WHAMBotReason = "Official Cleanup Business";

/* Ticks equaling 0.1 seconds. 1,000 ticks = 1 second */ WHAMDelay = 100;

////////////////////////////////////////////////////////////////////////////////

//// // ——————————————————————— End Configuration Section ———————————————————————— // ////

////////////////////////////////////////////////////////////////////////////////

//———————————————————————————————————————————————————————————————————————————— // ImportArticles /* ImportArticles minifies the rest of the JavaScript or CSS code and combines multiple HTTP requests into a single data transfer, making it save space and load faster than direct imports. It is recommended to import this way. */ //————————————————————————————————————————————————————————————————————————————

////////////////////////////////////////////////////////////////////////////////

// JavaScript imports $(function {    importArticles({ type: "script", articles: [ "u:dev:MediaWiki:AjaxBatchDelete/code.2.js", "u:dev:MediaWiki:AjaxBatchUndelete.js", "u:dev:MediaWiki:AjaxDelete/code.js", "u:dev:MediaWiki:AjaxPatrol/code.js", "u:dev:MediaWiki:AjaxRC/code.js", "u:dev:MediaWiki:AjaxThreadUnfollow/code.js", "u:dev:MediaWiki:AntiUnicruft/code.js", "u:dev:MediaWiki:ArchiveTool/code.js", "u:dev:MediaWiki:AutoEditPages/code.js", "u:dev:MediaWiki:CacheCheck/code.js", "u:dev:MediaWiki:CatFilter/code.js", "u:dev:MediaWiki:CategoryRenameAuto-update/code.js", "u:dev:MediaWiki:ContribsLink/code.js", "u:dev:MediaWiki:DiscussionsFeed.js", 'u:dev:MediaWiki:DiscussionsLink/code.js', "u:dev:MediaWiki:DisplayTimer/code.js", "u:dev:MediaWiki:DupImageList/code.js", "u:dev:MediaWiki:EditIntroButton/code.js", "u:dev:MediaWiki:FastDelete/code.js", "u:dev:MediaWiki:FastOldImageDelete/code.js", "u:dev:MediaWiki:FileUsageAuto-update/code.js", "u:dev:MediaWiki:FindAndReplace/code.js", "u:dev:MediaWiki:FloatingTableHeader/Code.js", "u:dev:MediaWiki:FloatingToc/code.js", "u:dev:MediaWiki:GlobalEditcount/code.js", "u:dev:MediaWiki:HeaderLinks/code.js", "u:dev:MediaWiki:LastEdited/code.js", "u:dev:MediaWiki:LinkThumb.js", "u:dev:MediaWiki:ListFiles/code.js", "u:dev:MediaWiki:MarkBlocked.js", "u:dev:MediaWiki:MarkForDeletion/code.js", "u:dev:MediaWiki:MassBlock/code.js", "u:dev:MediaWiki:MassCategorization/code.js", "u:dev:MediaWiki:MassNullEdit/code.js", "u:dev:MediaWiki:MassProtect/code.js", "u:dev:MediaWiki:MassRename/code.js", "u:dev:MediaWiki:MassRenameRevert/code.js", "u:dev:MediaWiki:MassUserRights/code.js", "u:dev:MediaWiki:MessageBlock/code.js", "u:dev:MediaWiki:MisspelledPage/code.js", "u:dev:MediaWiki:NewPagesUser.js", "u:dev:MediaWiki:NullEditButton/code.js", "u:dev:MediaWiki:OldFilePages/code.js", "u:dev:MediaWiki:PageRenameAuto-update/code.js", "u:dev:MediaWiki:PortableCSSPad/code.js", "u:dev:MediaWiki:ProtectedHighlight/code.js", "u:dev:MediaWiki:QuickCreateMessageWallGreeting/code.js", "u:dev:MediaWiki:QuickCreateUserPage/code.js", "u:dev:MediaWiki:QuickDiff/code.js", "u:dev:MediaWiki:Quick Management/code.js", "u:dev:MediaWiki:QuickThreads/code.js", "u:dev:MediaWiki:QuickToolsv2/code.js", "u:dev:MediaWiki:RailWAM/code.js", "u:dev:MediaWiki:ReaderMode/code.js", "u:dev:MediaWiki:RecentChangesMultiple/code.2.js", "u:dev:MediaWiki:RevealAnonIP/code.js", "u:dev:MediaWiki:SearchSuggest/code.js", "u:dev:MediaWiki:SpellCheckModule/code.js", "u:dev:MediaWiki:ThreadIndicator/code.js", "u:dev:MediaWiki:Thread Inspection/code.js", "u:dev:MediaWiki:UnsafeScripts/code.js", "u:dev:MediaWiki:UserRightsRecord/code.js", "u:dev:MediaWiki:View Source/code.js", "u:dev:MediaWiki:WikiStatistics/code.js", "u:dev:MediaWiki:YouTubeModal/code.js", "u:admintools:MediaWiki:Common.js/ajaxRollback.js", "u:admintools:MediaWiki:Common.js/extraRollbacks.js", "u:admintools:MediaWiki:Common.js/iprange.js", "u:admintools:MediaWiki:Common.js/Maintenance.js", "u:community:User:Sannse/Imagelisttools.js", "u:community:User:Sannse/forumtools.js", "u:josephhawk:User:Josephyr/categorycleanup.js", "u:josephhawk:User:Josephyr/filecleanup.js", "u:josephhawk:User:Josephyr/linksweeper.js", "u:josephhawk:User:Josephyr/redirects.js", "u:josephhawk:User:Josephyr/tc.js", "u:kocka:MediaWiki:AjaxCommentDelete/code.js", "u:kocka:MediaWiki:AjaxThreadDelete/code.js", "u:kocka:MediaWiki:MessageWallActions/code.js", "u:kocka:User:KockaAdmiralac/GlobalNavModifications.javascript", "u:kocka:User:KockaAdmiralac/PatrolAll.javascript", "u:kocka:User:KockaAdmiralac/TorusAutoFullscreen.javascript", "u:monchbox:MediaWiki:Torus.js", "u:noreply:MediaWiki:FileUsage.js", "u:ozank:MediaWiki:Chatconnect.js", "u:starmanw:MediaWiki:MultiUpload/code.js", "u:starmanw:MediaWiki:QuickLogs/code.js", "u:starmanw:MediaWiki:TopandDownButton.js", "u:starmanw:User:Dorumin/WHAM", ]   }); });

////////////////////////////////////////////////////////////////////////////////

//// // —————————————————— End ImportArticles section and page ——————————————————— // ////

////////////////////////////////////////////////////////////////////////////////