ഉപയോക്താവ്:Deepak885/myskin.js
ശ്രദ്ധിക്കുക: സേവ് ചെയ്തശേഷം മാറ്റങ്ങൾ കാണാനായി താങ്കൾക്ക് ബ്രൗസറിന്റെ കാഷെ ഒഴിവാക്കേണ്ടി വന്നേക്കാം.
- ഫയർഫോക്സ് / സഫാരി: Reload ബട്ടൺ അമർത്തുമ്പോൾ Shift കീ അമർത്തി പിടിക്കുകയോ, Ctrl-F5 അല്ലെങ്കിൽ Ctrl-R (മാക്കിന്റോഷിൽ ⌘-R ) എന്ന് ഒരുമിച്ച് അമർത്തുകയോ ചെയ്യുക
- ഗൂഗിൾ ക്രോം: Ctrl-Shift-R (മാക്കിന്റോഷിൽ ⌘-Shift-R ) അമർത്തുക
- ഇന്റർനെറ്റ് എക്സ്പ്ലോറർ: Refresh ബട്ടൺ അമർത്തുമ്പോൾ Ctrl കീ അമർത്തിപിടിക്കുക. അല്ലെങ്കിൽ Ctrl-F5 അമർത്തുക
- ഓപ്പറ: Menu → Settings എടുക്കുക (മാക്കിൽ Opera → Preferences) എന്നിട്ട് Privacy & security → Clear browsing data → Cached images and files ചെയ്യുക.
/* <pre><nowiki> Top of Javascript */
// switches for scripts
// TODO: migrate to JSConfig
var load_edittools = true;
// extra interface tabs for (external) tools such as check usage
//This should add the possibility to opt-out via gadgets
//the "remove image tools" gadget will set load_extratabs to false,
//so this won't load. If that's undefined, assume opt-in
if(typeof load_extratabs == 'undefined') load_extratabs = true;
if(load_extratabs != false) importScript('MediaWiki:Extra-tabs.js');
// Fix for i18n localization not loading.
// There are some scripts left that need to be migrated
importScript('Mediawiki:Vector.js/' + wgUserLanguage);
// A workaround for bug 2831, http://bugzilla.wikimedia.org/show_bug.cgi?id=2831
// This comes from Wiktionary,
// http://en.wiktionary.org/w/index.php?title=MediaWiki:Monobook.js&diff=prev&oldid=1144333
if (/\.5B/.test(window.location.hash))
window.location = window.location.hash.replace(/\.5B/g, "").replace(/\.5D/g, "");
//
// Translation Sitenotice
//
$(function(){
$("#siteNotice p").load(mw.config.get('wgServer')+mw.config.get('wgScript')+"?title=MediaWiki:Sitenotice&uselang="+wgUserLanguage+" #bodyContent p")
});
//
// Collapsible divs
//
importScript('MediaWiki:NavFrame.js');
//
// Wikiminiatlas for commons
//
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js'
+ '&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );
//
// Add ResizeGalleries script ([[MediaWiki talk:ResizeGalleries.js]])
//
//
// Translations of the message in the user preferences
var i18n_resize = {
'bg': 'Оразмеряване на галериите и категориите според ширината на екрана',
'en': 'Resize gallery and category widths to fit screen' // default
};
JSconfig.registerKey('resizeGalleries', true, i18n_resize[wgUserLanguage] || i18n_resize['en'], 3);
if( JSconfig.keys['resizeGalleries'] )
importScript('MediaWiki:ResizeGalleries.js');
//Add a link to a RSS feed for each category page, in the toolbox.
importScript('MediaWiki:Catfood.js');
//
// Change target of add-section links
// See Template:ChangeSectionLink
//
$(function ()
{
var changeAddSection = document.getElementById('jsChangeAddSection')
if (changeAddSection)
{
var addSection = document.getElementById('ca-addsection');
if (addSection)
{
addSection.firstChild.setAttribute('href', wgScript +
'?action=edit§ion=new&title=' + encodeURIComponent(
changeAddSection.getAttribute('title')));
}
}
});
// from http://de.wiktionary.org/wiki/MediaWiki:Common.js by [[wikt:de:User:Melancholie]] Interprojekt-Links ([[mediazilla:708|Bug 708]])
appendCSS('#interProject, #sisterProjects {display: none; speak: none;} #p-tb .pBody {padding-right: 0;}');
function iProject() {
var interPr = document.getElementById ('interProject');
var sisterPr = document.getElementById ('sisterProjects');
if (interPr) {
var interProject = document.createElement("div");
interProject.style.marginTop = "0.7em";
document.getElementById ("p-tb").appendChild(interProject);
interProject.innerHTML =
'<h5><a href="/wiki/Commons:SisterProjects">'
+(sisterPr && sisterPr.firstChild ? sisterPr.firstChild.innerHTML : "Sister Projects")
+'<\/a><\/h5><div class="pBody">'+interPr.innerHTML+'<\/div>';
}
}
addOnloadHook(iProject);
// hides the first headings on all main pages, however, unlike with CSS, only on view, not on history or when editing
if(wgNamespaceNumber == "0" && wgAction == "view"){
importStylesheet('MediaWiki:MainPages.css')
}
/* Bottom of Javascript </nowiki></pre> */