Մասնակից:Teak/Monobook.js
Վիքիփեդիայից՝ ազատ հանրագիտարանից
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.
== Workaround for language variants == <source lang="javascript">*/ var languagevariant; var direction; switch(wgUserLanguage){ case "hy": languagevariant = "hy"; direction = "ltr"; break; case "hy-e": languagevariant = "hy-Eastrn"; direction = "ltr"; break; case "hy-w": languagevariant = "hy-Wstrn"; direction = "ltr"; break; case "hy-c": languagevariant = "hy-Classic"; direction = "rtl"; document.getElementsByTagName("body").className = "rtl"; document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/common/common_rtl.css">'); document.write('<style type="text/css">div#shared-image-desc {direction: ltr;} input#wpUploadFile, input#wpDestFile, input#wpLicense {float: right;} .editsection {float: left !important;} .infobox {float: left !important; clear:left; } div.floatleft, table.floatleft {float:right !important; margin-left:0.5em !important; margin-right:0 !important; } div.floatright, table.floatright {clear:left; float:left !important; margin-left:0 !important; margin-right:0.5em !important;}</style>'); if (skin == "monobook"){ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/common/quickbar-right.css">'); document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/monobook/rtl.css">'); document.write('<style type="text/css">body{font-size: 75%; letter-spacing: 0.001em;} h3{font-size:110%;} h4 {font-size:100%;} h5{font-size:90%;} html > body div#content ol{clear: left;} ol{margin-left:2.4em; margin-right:2.4em;} ul{margin-left:1.5em; margin-right:1.5em;} .editsection{margin-right:5px; margin-left:0;} #column-one{padding-top:0; margin-top:0;} #p-navigation{padding-top:0; margin-top:160px;} #catlinks{width:100%;} #userloginForm{float: right !important;} .pBody{-moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0em !important;} .portlet h5{clear:right;}</style>'); } break; default: languagevariant = "hy"; direction = "ltr"; } // Set user language attributes for the whole document var htmlE=document.documentElement; htmlE.setAttribute("lang",languagevariant); htmlE.setAttribute("xml:lang",languagevariant); htmlE.setAttribute("dir",direction); // Switch language variants of messages function wgULS(kz,tr,cn,en){ if (!en) { en = ""; } hy=e||w||c; e=e; w=w; c=c; switch(wgUserLanguage){ case "hy": return hy; case "hy-e": return e; case "hy-w": return w; case "hy-c": return c; default: return en; } } // END Workaround for language variants /*</source>