User:趁鱼香/global.js

mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js'); /** InPageEdit Preferences **/ window.InPageEdit = window.InPageEdit || {}; // Keep this line InPageEdit.myPreference = { "editMinor": true, "editSummary": "[InPageEdit] $section 没有编辑摘要 $oldid", "redLinkQuickEdit": false, "outSideClose": false, "watchList": true, "plugins": [ "toolbox.js", "edit-any-page.js", "code-mirror/script.js", "color-preview.js" ] }

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NullEditButton/code.js',    ] });