भारत की संस्कृति के लिए... भाषा की उन्नति के लिए... साहित्य के प्रसार के लिए
"मीडियाविकि:Common.js" के अवतरणों में अंतर
Kavita Kosh से
पंक्ति 24: | पंक्ति 24: | ||
if (wgTitle == 'प्रायोगिक मुखपृष्ठ') { | if (wgTitle == 'प्रायोगिक मुखपृष्ठ') { | ||
− | var | + | var searchTextBox = document.createElement("input"); |
− | + | searchTextBox.id="kkHomePageSearchBox"; | |
− | + | searchTextBox.type="text"; | |
− | + | searchTextBox.size="35"; | |
− | document.getElementById("kkHomePageSearchBoxDiv").appendChild( | + | document.getElementById("kkHomePageSearchBoxDiv").appendChild(searchTextBox); |
− | + | ||
− | document.getElementById(" | + | var searchTextButton = document.createElement("input"); |
+ | searchTextButton.id=""; | ||
+ | searchTextButton.type="button"; | ||
+ | document.getElementById("kkHomePageSearchBoxDiv").appendChild(searchTextButton); | ||
} | } |
17:51, 4 दिसम्बर 2008 का अवतरण
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"}; } if (wgTitle == 'प्रायोगिक मुखपृष्ठ') { var searchTextBox = document.createElement("input"); searchTextBox.id="kkHomePageSearchBox"; searchTextBox.type="text"; searchTextBox.size="35"; document.getElementById("kkHomePageSearchBoxDiv").appendChild(searchTextBox); var searchTextButton = document.createElement("input"); searchTextButton.id=""; searchTextButton.type="button"; document.getElementById("kkHomePageSearchBoxDiv").appendChild(searchTextButton); }