差分

ナビゲーションに移動 検索に移動

MediaWiki:Vector.js

214 バイト除去, 2018年6月20日 (水) 15:38
編集の要約なし
/*<source lang="javascript">*/
/* ここに記述したJavaScriptはベクター・スキンの利用者に影響します */
 mw.loader.using( 'oojs-ui-core', function(){ // Force IP to preview before saving changes. // Copyright Marc Mongenet, 2006function forcePreview if (){ if mw.config.get('wgUserName !') === null) return; var saveButton = && document.getElementById("wpSave"); if (!saveButton) return; if ( && location.search.search(/&action=edit/) !== -1 ) return;{ saveButton OO.disabled = true; saveButtonui.styleinfuse( 'wpSaveWidget' ).fontWeight = "normal"; document.getElementByIdsetDisabled("wpPreview"true ).style.fontWeight = "bold"; } addOnloadHook(forcePreview}); /*</source>*/
匿名利用者

案内メニュー