「MediaWiki:Gadget-StyleGuide.js」の版間の差分

ナビゲーションに移動 検索に移動
<ref>が正しく挿入できるように修正
(ミス修正、<ref>タグも挿入できるように変更)
(<ref>が正しく挿入できるように修正)
46行目: 46行目:
                             },
                             },
                             {
                             {
                                 label: '&lt;ref&gt;&lt;/ref&gt;',
                                 label: '<ref></ref>',
                                 action: {
                                 action: {
                                     type: 'encapsulate',
                                     type: 'encapsulate',
                                     options: {
                                     options: {
                                         pre: '&lt;ref&gt;',
                                         pre: '<ref>',
                                         post: '&lt;/ref&gt;'
                                         post: '</ref>;'
                                     }
                                     }
                                 }
                                 }
                             },
                             },
                             {
                             {
                                 label: '&lt;ref name=&quot;&quot;&gt;&lt;/ref&gt;',
                                 label: '<ref name=""></ref>;',
                                 action: {
                                 action: {
                                     type: 'encapsulate',
                                     type: 'encapsulate',
                                     options: {
                                     options: {
                                         pre: '&lt;ref name=&quot;&quot;&gt;',
                                         pre: '<ref name="">;',
                                         post: '&lt;/ref&gt;'
                                         post: '</ref>;'
                                     }
                                     }
                                 }
                                 }
6,514

回編集

案内メニュー