User:SkyEye FAST/global.js

/** most taken from Dianliang233's common.js **/ /**           CC BY-NC-SA 4.0               **/

//

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

// InPageEdit-v2 mw.loader.load("https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js");

// InPageEdit-v2 Config window.InPageEdit = window.InPageEdit || {};

InPageEdit.myPreference = { "editMinor": false, "editSummary": "$section// Edit via InPageEdit", "redLinkQuickEdit": true, "outSideClose": false, "watchList": false, "plugins": [ "toolbox.js", "edit-any-page.js", "color-preview.js", "quick-thank.js" ] };

$(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') });               })            )        )    ); });

// PreviewTab form Terraria Wiki //// CSS $("head").first.append(''); //// JS mw.loader.load("https://terraria.fandom.com/index.php?title=MediaWiki:Gadget-previewTab.js&action=raw&ctype=text/javascript");

// Popups //// CSS $("head").first.append(''); //// JS mw.loader.load("https://adventofascension.fandom.com/zh/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript"); //// Popups Config window.popupStructure = "menus";

// RevisionPatrol //// CSS $("head").first.append(''); //// JS mw.loader.load("https://minecraft.fandom.com/zh/index.php?title=MediaWiki:Gadget-revisionPatrol.js&action=raw&ctype=text/javascript");

// HotCat mw.loader.load("https://zh.moegirl.org/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript"); //// HotCat Config window.hotcat_translations_from_commons = true;

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

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

// codeLinks mw.loader.load("https://minecraft.fandom.com/index.php?title=User:Majr/codeLinks.js&action=raw&ctype=text/javascript");

//