Σημείωση: μετά την δημοσίευση, ίσως χρειαστεί να παρακάμψετε την προσωρινή μνήμη του προγράμματος περιήγησής σας για να δείτε τις αλλαγές.

  • Firefox / Safari: Κρατήστε πατημένο το Shift κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση ή πιέστε Ctrl-F5 ή Ctrl-R (⌘-R σε Mac)
  • Google Chrome: Πιέστε Ctrl-Shift-R (⌘-Shift-R σε Mac)
  • Internet Explorer / Edge: Κρατήστε πατημένο το Ctrl κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση, ή πιέστε Ctrl-F5
  • Opera: Πιέστε Ctrl-F5.
/*
__FORCETOC__
== FONCTION TODAYDATE ==
<pre>*/

function TodayDate()
{
        var m = new Array("Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος")
        var today = new Date()
        var day = today.getDate()
        var year = today.getYear()

        if (year < 2000)
                year += 1900

        return (day + " " + m[today.getMonth()] + " " + year)
}


/*</pre>

== BARRE EDITION BOUTON ==
<pre>*/

function DeluxeBar() {
  if (document.createTextNode) {
        var toolbar = document.getElementById("toolbar"); 
        if (!toolbar) return;
        

        var messages = new Array()
        var images = new Array()
        var commentaires = new Array()
        var a=-1;

//Le décompte commence à -1 avec une incrementation sur le premier message, pour éviter tout probleme en cas d'inversion ou suppression du premier message

        // le texte a été splitté sinon Mediawiki casse tout...

         messages[++a] = "{{" + "αρχ" + "}}" + "[[" + "]]";
        images[a] = "http://upload.wikimedia.org/wikipedia/commons/5/52/Button_grec.png";
        commentaires[a] = "Ετυμολογία"

         messages[++a] = "\\n==={{" + "προφορά" + "}}===" + "\\n" + "{{" +"ΔΦΑ|" +  "}}\\n" ;
        images[a] = "http://upload.wikimedia.org/wikipedia/commons/f/f2/Button_prononciation.png";
        commentaires[a] = "Προφορά"

         messages[++a] = "==={{" + "ετυμολογία" + "}}===" + "\\n" + ":'''{{" +"PAGENAME" + "}}''' < " + "{{" + "ετυμ xx}}" + " [[" + "]]" ;
        images[a] = "http://upload.wikimedia.org/wikipedia/commons/b/b6/Vjazyce-button.png";
        commentaires[a] = "Ετυμολογία"


      ////////////////////////////////

for (var i=0;i<messages.length;i++) {
                var img = document.createElement("img");
                img.setAttribute("src", images[i]);
                
                var ref = document.createElement("a");
                ref.setAttribute("href", "javascript:insertTags('', \"" + messages[i] + "\", '');" + 
                                 "javascript:changeSummary(\"" + commentaires[i] + "\");" ); 
                ref.appendChild(img); 
                
                toolbar.appendChild(ref);
        }
  }
}

function changeSummary(sampleText) {
        document.editform.wpSummary.value = sampleText;
}

addLoadEvent(DeluxeBar);


/*</pre>
==ajouts==

=== Ajout au sommaire ===

<pre>*/


function addToSummary(str)
{
        document.editform.wpSummary.value += " " + str
}

function DeluxeSummary()
{
        var sumLbl = document.getElementById("wpSummaryLabel")
        if (sumLbl)
        {
                //élargissement boite de résumé
                var sumInput = document.getElementById("wpSummary")
                sumInput.style.width = "90%"

                var titles = new Array()
                titles.push("ébauche")
                titles.push("cat")
                titles.push("image")
                titles.push("wikif")
                titles.push("interwiki")
                titles.push("int")
                titles.push("ext")
                titles.push("MeP")
                titles.push("sup")
                titles.push("fusion")
                titles.push("redir")
                titles.push("ortho/gram")
                titles.push("retouches")
                titles.push("ajInfo")
                titles.push("déf")
                titles.push("pron")
                titles.push("etym")
                titles.push("trad")
                titles.push("divers")
                titles.push("création")
                titles.push("grc")
                titles.push("Motivation")
                titles.push("Réponse")
                titles.push("date")

                var inputs = new Array()
                inputs.push("- προσχέδιο ")
                inputs.push("- Κατηγορία")
                inputs.push("- Εικόνα")
                inputs.push("βικιποίηση")
                inputs.push("- σύνδεσμοι ιντερβίκι")
                inputs.push("- εσωτερικός σύνδεσμος")
                inputs.push("- εξωτερικός σύνδεσμος")
                inputs.push(" μορφοποίηση σελίδας")
                inputs.push("διαγράφτηκε ")
                inputs.push("συγχώνευση ")
                inputs.push("ΑΝΑΚΑΤΕΥΘΥΝΣΗ ")
                inputs.push("διόρθωση ορθογραφίας/γραμματικής ")
                inputs.push("διάφορες επιδιορθώσεις ")
                inputs.push("προσθήκη πληροφοριών ")
                inputs.push("- ορισμός ")
                inputs.push("- προφορά ")
                inputs.push("- Ετυμολογία ")
                inputs.push("- μετάφραση ")
                inputs.push("- διάφορα ")
                inputs.push("νέα σελίδα")
                inputs.push("- Αρχαία ελληνικά ")
                inputs.push("τα κίνητρά μου")
                inputs.push("απάντηση")
                inputs.push("- ετις "+ TodayDate())

                var str = ""
                for (var cpt = 0; cpt < titles.length; cpt ++)
                {
                        str += "<a href=\"javascript:addToSummary('" + inputs[cpt] + "')\""
                                + " class=\"sumLink\" title=\"Ajouter '" + inputs[cpt] +"' dans la boîte de résumé\">"
                                + titles[cpt]
                                + " ·</a> "
                }
                sumLbl.innerHTML = str + "<br />" + sumLbl.innerHTML
        }
}

addLoadEvent(DeluxeSummary)


/*</pre>
== Onglets autres wikitionnaires ==

<pre> */

 function GrosWikt() {
  var toolbar = document.getElementById("toolbar"); 
  if (toolbar) return;
  var a = document.getElementById("p-cactions");
  if (a) {
    var pageName = document.title.replace(" - Βικιλεξικό", ""); 
    b = a.getElementsByTagName("ul");             
    if(b.length > 0) {
      for(var cpt = 0; cpt < otherwikt.length; cpt ++) {
         b[0].innerHTML = b[0].innerHTML + '<li>' + '<a href="http://' + otherwikt[cpt] + '.wiktionary.org/wiki/' + pageName + '">' + otherwikt[cpt] + '</a>' + '</li>';
      } 
    }
  }
 }

addLoadEvent(GrosWikt);


 /* Fusion d'utilisateur et Usercount */
 document.write('<script type="text/javascript" src="' 
             + 'http://fr.wikipedia.org/w/index.php?title='
             + 'Utilisateur:Eden2004/monobook.js/fusion_d%27user.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


 /* Onglet vers d'autres wiktionnaires */
 var otherwikt = new Array();
 with (otherwikt) {
        push("fr");
        push("en");
        push("es");
        push("de");
        push("ja");
        push("ru");
        push("it");
 }

/*</pre>
 
=== Insertion de nouveaux boutons dans la barre d'outil ===
 
<pre>*/
 
//Remplit la variable mwCustomEditButtons (voir /skins-1.5/commons/wikibits.js) pour ajouter des boutons à la barre d'outils
function addCustomButton(imageFile, speedTip, tagOpen, tagClose, sampleText)
{
 mwCustomEditButtons[mwCustomEditButtons.length] =
 {"imageFile": imageFile,
  "speedTip": speedTip,
  "tagOpen": tagOpen,
  "tagClose": tagClose,
  "sampleText": sampleText};
}
 
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/5/5e/Button_API_%C9%91.png','Prononciation',"ɑ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/a/a7/Button_API_%C9%94.png','Prononciation',"ɔ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/7/74/Button_API_%C9%9B.png','Prononciation',"ɛ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_API_%C5%93.png','Prononciation',"œ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/6/66/Button_API_tilde.png','Prononciation',"̃","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/8/81/Button_API_%C9%99.png','Prononciation',"ə","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/2/22/Button_API_%C3%B8.png','Prononciation',"ø","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/c/c0/Button_API_%C9%A5.png','Prononciation',"ɥ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/8/83/Button_API_%CB%90.png','Prononciation',"ː","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/5/55/Button_API_%E2%80%BF.png','Prononciation',"‿","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/1/13/Button_API_%CA%83.png','Prononciation',"ʃ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/b/b2/Button_API_%CA%94.png','Prononciation',"ʔ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/2/27/Button_API_%CA%92.png','Prononciation',"ʒ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/c/c3/Button_API_%C9%B2.png','Prononciation',"ɲ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/c/ca/Button_API_%C5%8B.png','Prononciation',"ŋ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/f/ff/Button_API_%CA%81.png','Prononciation',"ʁ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/e/e6/Button_API_%C9%9F.png','Prononciation',"ɟ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/5/5b/Button_API_%C9%A3.png','Prononciation',"ɣ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/3/36/Button_API_%C3%B0.png','Prononciation',"ð","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/6/6a/Button_API_%CE%B8.png','Prononciation',"θ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/8/86/Button_API_%CA%8E.png','Prononciation',"ʎ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/a/aa/Button_API_%CA%9D.png','Prononciation',"ʝ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/b/b6/Button_API_%C9%B1.png','Prononciation',"ɱ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/0/0f/Button_API_%C9%BE.png','Prononciation',"ɾ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/d/d1/Button_API_%CB%88.png','Prononciation',"ˈ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/4/47/Button_API_%CA%A3.png','Prononciation',"ʣ","",'');
addCustomButton('http://upload.wikimedia.org/wiktionary/el/7/7b/Button_API_%CA%A6.png','Prononciation',"ʦ","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/b/bf/Button_pagename.png','Nom de la page',"\{\{PAGENAME\}\}","",'');
addCustomButton('http://upload.wikimedia.org/wikipedia/commons/e/e1/Button_flag_of_France.png','γαλλική μετάφραση',"\{\{ξεν|fr|","\}\}",'');

//Ressemble à la fonction de /skins-1.5/commons/wikibits.js pour insérer un autre lien que insertTags
function marque_tab()
{
 var toolbar = document.getElementById('toolbar');
 if (!toolbar) return false;
 
 var textbox = document.getElementById('wpTextbox1');
 if (!textbox) return false;
 
 if (!document.selection && textbox.selectionStart == null)
 return false;
 
 var image = document.createElement("img");
 image.width = 23;
 image.height = 22;
 toolbar.appendChild(image);
}
 
$(marque_tab);

/* </pre> */