User:Wikitiki89/common.js

Hello, you have come here looking for the meaning of the word User:Wikitiki89/common.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Wikitiki89/common.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Wikitiki89/common.js in singular and plural. Everything you need to know about the word User:Wikitiki89/common.js you have here. The definition of the word User:Wikitiki89/common.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Wikitiki89/common.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
/*
// Fix Hebrew vowel point ordering
$(function () {
    jQuery('.Hebr').each(function (index, element) {
        if (//.test(element.innerHTML)) {
            element.innerHTML = element.innerHTML.replace(
                /(+)\u05C1/g, 'ׁ$1'
            ).replace(
                /(+)\u05C2/g, 'ׂ$1'
            ).replace(
                /(+)\u05BC/g, 'ּ$1'
            );
        }
    });
});
*/

// Editable title
$(function() {
    if ($('#firstHeading').text().replace(/ /g, "_") == mw.config.values.wgPageName) {
        $("#firstHeading").prop("contenteditable", "true");
        $('#firstHeading').keypress(function (e) {
            if (e.which == 13) {
                window.location = "https://en.wiktionary.orghttps://en.wiktionary.org/w/index.php?search=" + $('#firstHeading').text() + "&title=Special%3ASearch&go=Go";
                return false;
            }
        });
    }
});

// Load title into search bar
$(function() {
    if (mw.config.values.wgPageName != "Special:Search" && mw.config.values.wgPageName != "Wiktionary:Main_Page") {
        $("#searchInput").val(mw.config.values.wgRelevantPageName.replace(/_/g, " "));
    }
});


// Disable keyboard shortcuts
$('').attr('accesskey',null);


/*</pre>
==Ruakh's Tbot-like JavaScript for translations==
<pre>*/

// broken for some reason
/*
importScript('User:Ruakh/Tbot.js');

$(function() { Tbot.greenifyTranslinks('ru'); });
$(function() { Tbot.greenifyTranslinks('he'); });
$(function() { Tbot.greenifyTranslinks('yi'); });
$(function() { Tbot.greenifyTranslinks('ar'); });
*/