From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

function myLanguages()

{

    if (typeof(mylangsArray) == "undefined") //user didn't define array of languages

        return;



    var first; //element to insert before

    

    for (var i = 0; i < mylangsArray.length; i++)

    {

        var els = document.querySelectorAll(".interwiki-"+mylangsArrayi]);

        

        if (els.length == 0) //interwiki not found

            continue; 

            

        var parent = els0].parentNode; 

                   

        if (!first) //first loop run

            first = parent.firstChild;

                      

        for (var n = 0; n < els.length; n++)

        {

            elsn].style.fontWeight = "bold"; 

        

            if (first == elsn]) //don't move element before itself

                first = first.nextSibling; 

            else

                parent.insertBefore(elsn], first); 

        }

    }

}



$(window).on("load", myLanguages);
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

function myLanguages()

{

    if (typeof(mylangsArray) == "undefined") //user didn't define array of languages

        return;



    var first; //element to insert before

    

    for (var i = 0; i < mylangsArray.length; i++)

    {

        var els = document.querySelectorAll(".interwiki-"+mylangsArrayi]);

        

        if (els.length == 0) //interwiki not found

            continue; 

            

        var parent = els0].parentNode; 

                   

        if (!first) //first loop run

            first = parent.firstChild;

                      

        for (var n = 0; n < els.length; n++)

        {

            elsn].style.fontWeight = "bold"; 

        

            if (first == elsn]) //don't move element before itself

                first = first.nextSibling; 

            else

                parent.insertBefore(elsn], first); 

        }

    }

}



$(window).on("load", myLanguages);

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook