importScript('Utilisateur:Sebleouf/linksheredeluxe.js');
importScript('Utilisateur:Sebleouf/ArticlesRecents.js');
nombreArticlesRecents = 50;
mw.loader.load("https://dictious.com/fr/Utilisateur:VIGNERON/LienLex.js?action=raw&ctype=text/javascript");
// Boutons d'édition
mw.loader.using("ext.gadget.Barre_de_luxe").done(function () {
wikt.gadgets.barreDeLuxe.addButtons([
// Définition des boutons.
{
tagOpen: "\n=== {{S|étymologie}} ===\n: {{ébauche-étym|",
tagClose: "fr}} ",
imageFileName: "thumb/2/27/OOjs_UI_icon_history.svg/24px-OOjs_UI_icon_history.svg.png",
tooltip: "Section étymologie",
buttonId: "Etym-tag",
group: "insert",
}, {
tagOpen: "\n==== {{S|traductions}} ====\n{{trad-début}}",
tagClose: "\n{{trad-fin}}\n",
imageFileName: "thumb/4/43/OOjs_UI_icon_language-ltr.svg/24px-OOjs_UI_icon_language-ltr.svg.png",
tooltip: "Traductions",
buttonId: "Traductions-tag",
group: "insert",
},
{
tagOpen: "#* {{ébauche-exe|",
tagClose: "}}\n",
imageFileName: "thumb/b/b3/OOjs_UI_icon_ellipsis.svg/24px-OOjs_UI_icon_ellipsis.svg.png",
tooltip: "Ébauche-exe",
buttonId: "Ébauche-exe-tag",
group: "insert",
},
{
tagOpen: "{{date|",
tagClose: "|lang=fr}} ",
imageFileName: "thumb/d/dd/OOjs_UI_icon_clock.svg/24px-OOjs_UI_icon_clock.svg.png",
tooltip: "Date",
buttonId: "Date-tag",
group: "insert",
},
{
tagOpen: ": {{composé de|",
tagClose: "||lang=fr|m=1}}. ",
imageFileName: "thumb/d/dd/OOjs_UI-like_hyponym.svg/24px-OOjs_UI-like_hyponym.svg.png",
tooltip: "Composé",
buttonId: "Composé-tag",
group: "insert",
},
]);
});
//syntax highlighter
mw.loader.load('//www.mediawiki.orghttps://fr.wiktionary.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');
syntaxHighlighterConfig = {
boldOrItalicColor: "",
wikilinkColor: "#F0FF80",
externalLinkColor: "",
headingColor: "",
listOrIndentColor: "",
signatureColor: "",
tableColor: "",
templateColor: "",
parameterColor: "",
hrColor: "",
tagColor: "#B2B2B2",
commentColor: "",
entityColor: "",
}