Difference between revisions 10892519 and 10892523 on frwiktionary// -------------------------------------------------------------------------------------------- // Création d'un mot à partir d'un patron généré automatiquement // à partir de quelques clics dans une boite de dialogue // // -------------------------------------------------------------------------------------------- // Code en partie inspiré de w:MediaWiki:Gadget-RenommageCategorie.js // et aussi de MediaWiki:Gadget-SpecialChar.js // Le reste est fait par ArséniureDeGallium, sous CC-BY-SA. (contracted; show full) var tb = document.getElementById("wpTextbox1") if( !tb ) { alert("Ouvrez la page en en édition avant."); return; } // récupération des données de la boite de dialogue var TypeMot = document.getElementById('IdType Mot'); var LangueSection = document.getElementById('IdLangueSection'); var Locution = document.getElementById('IdLocution'); var Flexion = document.getElementById('IdFlexion'); var Sigle = document.getElementById('IdSigle'); var GenreMot = document.getElementById('IdGenreMot'); if( (!TypeMot)||(!LangueSection)||(!Locution)||(!Flexion)||(!Sigle)||(!GenreMot) ){ alert("ID inconnu dans boite"); return; } CrNoMo_TypeMot = TypeMot.value; CrNoMo_LangueSection = !LangueSection.checked; (contracted; show full) var agt=navigator.userAgent.toLowerCase(); var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); if(is_ie){ OldElement.removeNode(true); }else{ if(OldElement.parentNode){document=OldElement.parentNode.removeChild(OldElement);} } } All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://fr.wiktionary.org/w/index.php?diff=prev&oldid=10892523.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|