User:SkyEye FAST/common.js

/*ja:利用者:SkyEye FAST/common.js ru:Участник:SkyEye FAST/common.js zh:User:SkyEye FAST/common.js*/

//

// Wikiplus mw.loader.load("https://wikiplus-app.com/Main.min.js");

// InPageEdit-v2 mw.loader.load("https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js");

window.InPageEdit = window.InPageEdit || {}; InPageEdit.myPreference = { "outSideClose": false, "editMinor": false, "editSummary": "$section// Edit via InPageEdit" };

$(function {   $('#ca-view').after( $('', {           id: 'ca-quick-edit',            class: 'collapsible'        }).append(            $(' ').append( $('', {                   href: 'javascript:void(0)'                }) .text('IPE') .click(function {                   InPageEdit.edit({ page: mw.config.get('wgPageName'), revision: mw.config.get('wgRevisionId') });               })            )        )    ); });

// JavaScriptWikiBrowser mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/JWB/load.js");

// PreviewTab //// CSS $("head").first.append(''); //// JS mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/PreviewTab/PreviewTab.js");

// RevisionPatrol //// CSS $("head").first.append(''); //// JS mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/RevisionPatrol/RevisionPatrol.js");

// Editcounter mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/EditCounter.js");

// SchnarkSyntaxHighlight mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/SchnarkSyntaxHighlight.js");

// HotCat window.hotcat_translations_from_commons = true; mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/HotCat.js");

// Clear move/delete reason document.getElementById("wpReason").value = "";

// WikiEditor Toolbar mw.loader.load('https: //minecraft-zh.gamepedia.com/index.php?title=User:SteveZihang/edittools.js&action=raw&ctype=text/javascript'); // codeLinks mw.loader.load("https://minecraft.gamepedia.com/index.php?title=User:Majr/codeLinks.js&action=raw&ctype=text/javascript");

// watchlist-log-localization mw.loader.load("https://minecraft-zh.gamepedia.com/index.php?title=User:Dianliang233/js/watchlist-log-localization.js&action=raw&ctype=text/javascript");

// Smart Rollback mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/SmartRollback.js"); //// Config if (typeof smartRollbackConfig === "undefined") smartRollbackConfig = {}; smartRollbackConfig.editSummaries = {}; smartRollbackConfig.editSummaries[ 0 ] = "[SmartRollback] 破坏"; smartRollbackConfig.editSummaries[ 1 ] = "[SmartRollback] 错误信息"; smartRollbackConfig.editSummaries[ 2 ] = "//revert via SmartRollback";

// DocTabs if ($.inArray(mw.config.get("wgNamespaceNumber"), [ 10,       11,        828,        829    ]) > -1 || $.inArray(mw.config.get("wgNamespaceNumber"), [ 2,       3    ]) > -1 && mw.config.get("wgTitle").replace(/\/doc$/, "").search(/\.(js|css)$/) > -1) { mw.loader.load("https://cdn.jsdelivr.net/gh/dianliang233/dianliang-personal-js-css@master/DocTabs.js"); }

//