「MediaWiki:Gadget-StyleGuide.js」の版間の差分
ミス修正、<ref>タグも挿入できるように変更 |
細 <ref>が正しく挿入できるように修正 |
||
| 46行目: | 46行目: | ||
}, | }, | ||
{ | { | ||
label: ' | label: '<ref></ref>', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: ' | pre: '<ref>', | ||
post: ' | post: '</ref>;' | ||
} | } | ||
} | } | ||
}, | }, | ||
{ | { | ||
label: ' | label: '<ref name=""></ref>;', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: ' | pre: '<ref name="">;', | ||
post: ' | post: '</ref>;' | ||
} | } | ||
} | } | ||