MediaWiki:Monobook.js: Versiyalar orasidagi farq

Kontent oʻchirildi Kontent qoʻshildi
Uzgen (munozara | hissa)
Tahrir izohi yoʻq
Uzgen (munozara | hissa)
Tahrir izohi yoʻq
Qator 31:
}
 
// ============================================================
// BEGIN add buttons on top of editing window
/* add a redirect button to the edit page toolbar */
function InsertButtonsToToolBar()
{
tooly = document.getElementById('toolbar');
if (tooly != null)
{
RedirectButton = "<a href=\"javascript:Wikify();\"><img src=\"http://upload.wikimedia.org/wikipedia/uz/1/15/Vikifikator.gif\" alt=\"Vikifikator\" title=\"Vikifatsiya\"></a><select id=\"template-selector\" name=\"template-selector\" onchange=\"insertStub(this);\"><option value=\"0\"><b>Shablonlar…</b></option> <option value=\"wikify\">Vikifikatsiya qilish</option> <option value=\"expand\">Qisqa maqola</option> <option value=\"rus\">Ruscha maqola</option> <option value=\"ingliz\">Inglizcha maqola</option> <option value=\"turk\">Turkcha maqola</option><option value=\"complete\">Birinchi bosqich</option> <option value=\"uzbek\">Oʻzbek tili hatolari</option> <option value=\"delete\">Yoʻqotmoq</option> <option value=\"davlat-info\">Davlat Axboroti</option></select>";
tooly.innerHTML = tooly.innerHTML + RedirectButton;
}
}
window.onload = InsertButtonsToToolBar;
// END add buttons on top of editing window
// ============================================================
 
// ============================================================