 *jslint browser true * *global * *global alert jquery mediawiki window * function mwu800 'useu800 strict'; function toclipboard what text varu800 textarea documentu82ecreateelement "textarea" ; prevent scrolling tou800 bottom ofu800 page inu800 msu800 edge ffu800 textareau82estyleu82eposition "fixed"; textareau82estyleu82etopu800 0u800; textareau82estyleu82eleft 0u800; ensure itu800 hasu800 au800 small width andu800 height. setting tou800 1pxu800 1emu800 doesn'tu800 work asu800 this gives au800 negative wu800 hu800 onu800 some browsers. textareau82estyleu82ewidth '2emu800'; textareau82estyleu82eheight '2emu800'; weu800 donu800'tu800 need padding reducing theu800 size ifu800 itu800 does flash render. textareau82estyleu82epadding 0u800; clean upu800 anyu800 borders. textareau82estyleu82eborder 'none'; textareau82estyleu82eoutline 'none'; textareau82estyleu82eboxshadow 'none'; avoid flash ofu800 white boxu800 ifu800 rendered foru800 anyu800 reason. textareau82estyleu82ebackground 'transparent'; textareau82evalue text; documentu82ebodyu82eappendchild textarea ; textareau82efocus ; textareau82eselect ; tryu800 documentu82eexeccommand 'copy' ; catch erru800 mwu800u82enotify 'u8d8a7u8d985u8daa9u8d8a7u8d986 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 u8d8a8u8d987 u8d8a8u8d8b1u8db8cu8d8afu8d987u8e2808cu8d8afu8d8a7u8d986 u8d986u8d8a8u8d988u8d8af' ; return; finally documentu82ebodyu82eremovechild textarea ; mwu800u82enotify what ' u8d8a8u8d987 u8d8a8u8d8b1u8db8cu8d8afu8d987u8e2808cu8d8afu8d8a7u8d986 u8d985u8d986u8d8aau8d982u8d984 u8d8b4u8d8af' ; function varu800 _option nom_permalink 'u8d9beu8d8a7u8db8cu8d8a7u8d9beu8db8cu8d988u8d986u8d8af' nom_ancre 'u8d986u8d8b4u8d8a7u8d986u8db8c u8d988u8d8a8' nom_lien_interne 'u8d988u8db8cu8daa9u8db8cu8e2808cu8d9beu8db8cu8d988u8d986u8d8af' description_pl 'u8d981u8d8b1u8d8b3u8d8aau8d8a7u8d8afu8d986 u8d9beu8db8cu8d988u8d986u8d8af u8d9beu8d8a7u8db8cu8d8afu8d8a7u8d8b1 u8d8a8u8d987 u8d8a8u8d8b1u8db8cu8d8afu8d987u8e2808cu8d8afu8d8a7u8d986' description 'u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 u8d986u8d8b4u8d8a7u8d986u8db8c u8d988u8d8a8 u8d8b3u8d8a7u8d8afu8d987 u8d8a8u8d987 u8d8a8u8d8b1u8db8cu8d8afu8d987u8e2808cu8d8afu8d8a7u8d986' descinterne 'u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 u8d988u8db8cu8daa9u8db8cu8e2808cu8d9beu8db8cu8d988u8d986u8d8af u8d8a8u8d987 u8d8a8u8d8b1u8db8cu8d8afu8d987u8e2808cu8d8afu8d8a7u8d986' ; ifu800 typeof windowu82eancretitres 'undefined' .extend _option windowu82eancretitres ; varu800 sepu800 ' ' ; varu800 permalink '#tu800 permalink au800' .length && '#tu800 permalink au800' 0u800 .href; varu800 urlprefix 'https ' mwu800u82econfigu82egetu800 'wgserver' mwu800u82econfigu82egetu800 'wgscript' ' title ' mwu800u82econfigu82egetu800 'wgpagename' ; '.mwu800 headline' .each function _u800 headline varu800 linkssection ' ' ; varu800 lastbracket linkssectionu82efind '.mwu800 editsection bracket' .last ; linkssectionu82ecssu800 ' mozu800 user select' 'none' ' msu800 user select' 'none' ' webkit user select' 'none' 'user select' 'none' 'font size' 'small' 'font weight' 'normal' 'line height' '1emu800' ; ifu800 headlineu82eidu800 varu800 anchor '#' headlineu82eidu800u82ereplace gu800 encodeuricomponent ; else varu800 anchor  ; ' ' _optionu82enom_ancre ' ' .click function toclipboard 'u8d986u8d8b4u8d8a7u8d986u8db8c u8d988u8d8a8 u8d985u8d8b9u8d985u8d988u8d984u8db8c' urlprefix anchor ; return false; .insertbefore lastbracket ; ifu800 permalink sepu800u82eclone .insertbefore lastbracket ; ' ' _optionu82enom_permalink ' ' .click function toclipboard 'u8d9beu8d8a7u8db8cu8d8a7u8d9beu8db8cu8d988u8d986u8d8af' permalink anchor ; return false; .insertbefore lastbracket ; sepu800u82eclone .insertbefore lastbracket ; ' ' _optionu82enom_lien_interne ' ' .click function toclipboard 'u8d988u8db8cu8daa9u8db8cu8e2808cu8d9beu8db8cu8d988u8d986u8d8af' ' ' mwu800u82econfigu82egetu800 'wgpagename' anchor ' ' ; return false; .insertbefore lastbracket ; ifu800 headlineu82enextelementsibling && headlineu82enextelementsiblingu82eclassname 'mwu800 editsection' linkssectionu82eappendto headlineu82enextelementsibling ; else linkssectionu82eappendto headline ; ; ; mediawiki jquery ; 