ഉപയോക്താവ്:Akhilan/collection.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 ചെയ്യുക.
function addArticle() {
  window.location.href = 'http://pediapress.com/api/add-article/?return=1&base_url=' + mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '&title=' + wgTitle;
}

function addCategory() {
  window.location.href = 'http://pediapress.com/api/add-category/?return=1&base_url=' + mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '&title=' + wgTitle;
}  
 
function addPediaPressLinks() {
  if (wgNamespaceNumber == 14) {
     addPortletLink ('p-personal', 'javascript:addCategory()', 'add category');
  }  else {
     addPortletLink ('p-personal', 'javascript:addArticle()', 'add article');
  }
  addPortletLink ('p-personal', 'http://pediapress.com/collection/', 'my collection');
}
 
$(addPediaPressLinks);
"https://ml.wikipedia.org/w/index.php?title=ഉപയോക്താവ്:Akhilan/collection.js&oldid=3529366" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്