 force ipu800 tou800 preview before saving changes. copyright marc mongenet 2006 rewritten byu800 user ladsgroup performance function forcepreview '#editpage copywarn' .append ' &nbsp;u8d8a8u8d8a7 u8d986u8d8a7u8d985 u8daa9u8d8a7u8d8b1u8d8a8u8d8b1u8db8c u8d988u8d8a7u8d8b1u8d8af u8d8b4u8d988u8db8cu8d8af u8db8cu8d8a7 u8d8a8u8d8b1u8d8a7u8db8c u8d981u8d8b9u8d8a7u8d984 u8d8b4u8d8afu8d986 u8d8afu8daa9u8d985u8d987 u8c2abu8d8b5u8d981u8d8adu8d987 u8d8b0u8d8aeu8db8cu8d8b1u8d987 u8d8b4u8d988u8d8afu8c2bbu8d88c u8d8a7u8d8a8u8d8aau8d8afu8d8a7 u8d8a7u8d8b2 u8d8afu8daa9u8d985u8d987 u8c2abu8d9beu8db8cu8d8b4 u8d986u8d985u8d8a7u8db8cu8d8b4u8c2bb u8d8a7u8d8b3u8d8aau8d981u8d8a7u8d8afu8d987 u8daa9u8d986u8db8cu8d8af. ' ; '#wpsave' .prop 'disabled' true ; '#wpsave' .cssu800 'font weight' 'normal' ; '#wppreview' .cssu800 'font weight' 'bold' ; ifu800 mwu800u82econfigu82egetu800 'wgusername' && '#editpage copywarn' 0u800 && mwu800u82econfigu82egetu800 'wgaction' 'edit' && '#wpsave' 0u800 forcepreview ; ** * fill upload with preloadonempty ** function ifu800 mwu800u82econfigu82egetu800 'wgpagename' 'u8d988u8db8cu8da98u8d987 u8d8a8u8d8a7u8d8b1u8daafu8d8b0u8d8a7u8d8b1u8db8c_u8d9beu8d8b1u8d988u8d986u8d8afu8d987' && '#wpuploaddescription' .valu800   ifu800 locationu82ehrefu82eindexof 'wpforreupload' 1u800 '#wpuploaddescription' .valu800 '#preloadonempty' .text ; '#mwu800 upload permitted pu800' .each function thisu82einnerhtml thisu82einnerhtmlu82ereplace pdfu800 u8d88cu8e38081   ; ; ; ** * redirect redlinks foru800 notu800 autoconfirmed users * andu800 hides "newu800 article wizard" edit buttons foru800 them * * redirect newu800 page creation with nonu800 standard onu800 title * .when mwu800u82eloaderu82eusing 'mediawikiu82euriu800' .ready .then function u8d8b7u8d8a8u8d982 u8d8a7u8d8acu8d985u8d8a7u8d8b9 &oldid 11798574 u8d8a8u8d8b1u8d8a7u8db8c u8daa9u8d8a7u8d8b1u8d8a8u8d8b1u8d987u8d8a7u8db8c u8d8b2u8db8cu8d8b1 u8dbb2u8dbb5 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4 ifu800 mwu800u82econfigu82egetu800 'wgusereditcount' 25u800 && mwu800u82econfigu82egetu800 'wgnamespacenumber' 0u800 '.noarticletext' .length 0u800 '#cau800 edit au800' '.newu800' .each function thisu82ehref newu800 mwu800u82euriu800 thisu82ehref .extend withjs "mediawiki intro welcome newusersu82ejsu800" preload "u8d8a7u8d984u8daafu8d988 u8d8a7u8db8cu8d8acu8d8a7u8d8af u8d985u8d982u8d8a7u8d984u8d987 u8d8a7u8d8b3u8d8aau8d8aeu8d988u8d8a7u8d986u8e2808cu8d8a8u8d986u8d8afu8db8c" editintro "u8d8a7u8d984u8daafu8d988 u8d8a7u8db8cu8d8acu8d8a7u8d8af u8d985u8d982u8d8a7u8d984u8d987 u8d8a7u8d8afu8db8cu8d8aau8e2808cu8d986u8d988u8d8aau8db8cu8d8b3" summary "u8d8a7u8db8cu8d8acu8d8a7u8d8af u8db8cu8daa9 u8d985u8d982u8d8a7u8d984u8d987 u8d986u8d988 u8d8a7u8d8b2 u8d8b7u8d8b1u8db8cu8d982 u8d8a7u8db8cu8d8acu8d8a7u8d8afu8daafu8d8b1" nosummary "" prefix "" minor "" create "u8d8afu8d8b1u8d8b3u8d8aa u8daa9u8d8b1u8d8afu8d986 u8d985u8d982u8d8a7u8d984u8d987 u8d8acu8d8afu8db8cu8d8af" ; ; ifu800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 4u800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 2u800 1u800 && 'enu800' 'fru800' 'deu800' 'itu800' 'esu800 .indexof mwu800u82econfigu82egetu800 'wguserlanguage' 1u800 'input#wpsummary #wpsummary input #wptextbox1' .attr 'diru800' 'ltru800' ; ; help abuse filter #106u800 tou800 tagu800 recreated pages which have delete logu800 function ifu800 .inarray mwu800u82econfigu82egetu800 'wgaction' 'edit' 'submit' 1u800 && '.mwu800 warning with logexcerpt .mwu800 logline delete' .length 0u800 '#editform input type submit ' .click function 'input#wpsummary #wpsummary input' .valu800 'input#wpsummary #wpsummary input' .valu800 "u8e2808cu8e2808cu8e2808cu8e2808c" ; ; ; 