「MediaWiki:Gadget-DotsSyntaxHighlighter.js」:修訂間差異

無編輯摘要
imported>=海豚=
無編輯摘要
imported>=海豚=
無編輯摘要
行 1: 行 1:
if(['view', 'edit'].indexOf(mw.config.get('wgAction')) !== -1 && mw.config.get("wgPageContentModel") === 'wikitext') {
if([ 'edit','submit'].indexOf(mw.config.get('wgAction')) !== -1 && mw.config.get("wgPageContentModel") === 'wikitext') {
mw.loader.load('/index.php?title=User:=海豚=/tools/codemirror.js&action=raw&ctype=text/javascript');
mw.loader.load('/index.php?title=User:=海豚=/tools/codemirror.js&action=raw&ctype=text/javascript');
mw.loader.load('/index.php?title=User:=海豚=/tools/codemirror.css&action=raw&ctype=text/css', 'text/css');
mw.loader.load('/index.php?title=User:=海豚=/tools/codemirror.css&action=raw&ctype=text/css', 'text/css');
匿名使用者