Difference between revisions of "User:Kynikos.bot/common.js"

From ArchWiki
Jump to: navigation, search
(init)
 
m (test)
Line 2: Line 2:
 
//mw.loader.load('https://rawcdn.githack.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
 
//mw.loader.load('https://rawcdn.githack.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
 
//mw.loader.load('https://cdn.rawgit.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
 
//mw.loader.load('https://cdn.rawgit.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
mw.loader.load('https://localhost:8080/auxiliary/WikiMonkey-local.js');
+
$.getScript('https://localhost:8080/auxiliary/WikiMonkey-local.js').done(function() { wikimonkey({
 +
    update_check_wdays: [0, 1, 2, 3, 4, 5, 6],
 +
    ArchWikiSortContacts: {enabled: true},
 +
    ArchWikiSummaryToRelated: {enabled: true},
 +
    ArchWikiWantedCategories: {enabled: true},
 +
    DeletePages: {enabled: true}
 +
}) });

Revision as of 05:39, 17 December 2017

//mw.loader.load('https://raw.githack.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
//mw.loader.load('https://rawcdn.githack.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
//mw.loader.load('https://cdn.rawgit.com/kynikos/wiki-monkey/v4.0.0/dist/WikiMonkey-ArchWiki.js');
$.getScript('https://localhost:8080/auxiliary/WikiMonkey-local.js').done(function() { wikimonkey({
    update_check_wdays: [0, 1, 2, 3, 4, 5, 6],
    ArchWikiSortContacts: {enabled: true},
    ArchWikiSummaryToRelated: {enabled: true},
    ArchWikiWantedCategories: {enabled: true},
    DeletePages: {enabled: true}
}) });