भारत की संस्कृति के लिए... भाषा की उन्नति के लिए... साहित्य के प्रसार के लिए

"मीडियाविकि:Common.js" के अवतरणों में अंतर

Kavita Kosh से
यहाँ जाएँ: भ्रमण, खोज
पंक्ति 29: पंक्ति 29:
 
}
 
}
  
<!-- Call function to decide which lipi is to be used for displaying the page. This function is defined in kk-custom-js-function.js which is loaded in skin file -->
+
$(function() {
 +
 
 +
//Call function to decide which lipi is to be used for displaying the page. This function is defined in kk-custom-js-function.js which is loaded in skin file
  
 
decideLipi('globalWrapper');
 
decideLipi('globalWrapper');
  
<!-- Lipi decision done -->
+
});

21:09, 9 मई 2014 का अवतरण

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png",
     "speedTip": "Insert Superscript",
     "tagOpen": "<sup>",
     "tagClose": "</sup>",
     "sampleText": ""};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
     "speedTip": "Line break",
     "tagOpen": "<br />",
     "tagClose": "",
     "sampleText": ""};

    mwCustomEditButtons[mwCustomEditButtons.length] = {
        "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
        "speedTip": "Redirect",
        "tagOpen": "#REDIRECT [[",
        "tagClose": "]]",
        "sampleText": "Insert text"};

    mwCustomEditButtons[mwCustomEditButtons.length] = {
        "imageFile": "http://www.kavitakosh.org/kk/images/c/cd/Button_poem.png",
        "speedTip": "Poem tag",
        "tagOpen": "<poem>",
        "tagClose": "</poem>",
        "sampleText": "रचना यहाँ टाइप करें"};
}

$(function() {

//Call function to decide which lipi is to be used for displaying the page. This function is defined in kk-custom-js-function.js which is loaded in skin file

decideLipi('globalWrapper');

});