差分
ナビゲーションに移動
検索に移動
/*<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>*/