Site Notice

hello, world

Difference between revisions of "User:编辑冲突/common.js"

From Project-EPB Commons
(Created page with "mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js');")
 
([InPageEdit] No summary given)
 
Line 1: Line 1:
 
mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js');
 
mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js');
 +
/** Wikiplus */
 +
mw.loader.load(
 +
  'https://wikiplus.oss-cn-shanghai.aliyuncs.com/Main.development.js'
 +
)
 +
// 修改 IPE 文字防止抑郁
 +
InPageEdit.i18n = InPageEdit.i18n || {}
 +
InPageEdit.i18n['zh-hans'] = InPageEdit.i18n['zh-hans'] || {}
 +
InPageEdit.i18n['zh-hans']['quick-edit'] = 'IPE 快编'

Latest revision as of 15:30, 26 March 2021

mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js');
/** Wikiplus */
mw.loader.load(
  'https://wikiplus.oss-cn-shanghai.aliyuncs.com/Main.development.js'
)
// 修改 IPE 文字防止抑郁
InPageEdit.i18n = InPageEdit.i18n || {}
InPageEdit.i18n['zh-hans'] = InPageEdit.i18n['zh-hans'] || {}
InPageEdit.i18n['zh-hans']['quick-edit'] = 'IPE 快编'