മീഡിയവിക്കി:Common.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 ചെയ്യുക.
/* ഇവിടെ നൽകുന്ന ജാവാസ്ക്രിപ്റ്റ് എല്ലാ ഉപയോക്താക്കൾക്കും, എല്ലാ താളുകളിലും പ്രവർത്തിക്കുന്നതായിരിക്കും */
/* ==========================================================================
COMMON.JS
Abhiprayavedi
Version 1.0
========================================================================== */
/* ==========================================================================
1. Category Page Enhancements
========================================================================== */
$(document).ready(function() {
if ($('.mw-category').length) {
$('.mw-category li a').each(function() {
var pageTitle = $(this).attr('title');
if (pageTitle) {
// This will use the page's actual display title
// MediaWiki automatically uses DISPLAYTITLE in title attribute
$(this).text(pageTitle);
}
});
}
});
/* ==========================================================================
2. Anonymous User Interface
========================================================================== */
(function () {
if (mw.config.get('wgUserId') === null) {
$(document).ready(function () {
// Remove page tabs
$('#mw-page-header-links').remove();
// Remove "From AbhiprayaVedi"
$('#siteSub').remove();
// Hide MediaWiki generated category listing
$('.mw-category-generated').hide();
});
}
}());