MediaWiki:Gadget-ReferenceTooltips.js:修订间差异

创建页面,内容为“// See mw:Reference Tooltips // Source https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js →‎eslint space-in-parens: ["error", "always"], array-bracket-spacing: ["error", "always"]:​ ( function () { // If you're loading the script from another wiki and want to set your settings, do that in `window` // properties with `rt_` prefix, e.g. // window.rt_REF_LINK_SELECTOR = '...'; // They will be used instead of enwiki detaults. var REF_LINK_…”
 
无编辑摘要
第414行: 第414行:


this.hoverOption = new OO.ui.RadioOptionWidget( {
this.hoverOption = new OO.ui.RadioOptionWidget( {
label: mw.msg( 'rt-hovering' )
label: mw.msg( 'rt-clicking' )
} );
} );
this.clickOption = new OO.ui.RadioOptionWidget( {
this.clickOption = new OO.ui.RadioOptionWidget( {
label: mw.msg( 'rt-clicking' )
label: mw.msg( 'rt-hovering' )
} );
} );
this.activationMethodSelect = new OO.ui.RadioSelectWidget( {
this.activationMethodSelect = new OO.ui.RadioSelectWidget( {
items: [ this.hoverOption, this.clickOption ]
items: [ this.hoverOption, this.clickOption ]