ശ്രദ്ധിക്കുക: സേവ് ചെയ്തശേഷം മാറ്റങ്ങൾ കാണാനായി താങ്കൾക്ക് ബ്രൗസറിന്റെ കാഷെ ഒഴിവാക്കേണ്ടി വന്നേക്കാം.

  • ഫയർഫോക്സ് / സഫാരി: 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 ചെയ്യുക.
mw.loader.load("//www.commons.wikimedia.org/w/index.php?title=User:Sreejithk2000/useredits.js&action=raw&ctype=text/javascript");

$(function() {
  if (wgAction == "edit") {
    mw.util.addPortletLink( 'p-cactions', "javascript:ProofRead()", "Proof read", "tw-pr", "Add custom new line and other stuff.", "");

    $('.editCheckboxes').append($('<a>').attr({href: 'javascript:ProofRead()', value: 'Proof read'}).text('  Proof read  '));
  }
});

function ProofRead()
{
   var textVal = $('#wpTextbox1').val();
   textVal = textVal.replace(/-/g, '&mdash;');

/*
   var matchStr = /[^\n]\n[^\n]/g; // Find all \n which does not have \n before or after it.
   var newTextVal = textVal;
   var increment = 0;
   while (m = matchStr.exec(textVal)) {
      var index = m.index + increment;
      newTextVal = newTextVal.substring(0, index + 1) + "<br />" + 
           newTextVal.substring(index + 1, newTextVal.length);
      increment = increment + 6;
   }
*/
   textVal = '<poem>\n' + textVal + '</poem>';
   $('#wpTextbox1').val(textVal);
}
"https://ml.wikisource.org/w/index.php?title=ഉപയോക്താവ്:Sreejithk2000/vector.js&oldid=212222" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്