Uzanto:לערי ריינהארט/monobook.js

De Wikipedio

Atencez: Pos registragar, vu probable mustos preterpasar la tempala-magazino di vua navigilo por vidar la modifikuri.

  • Firefox / Safari:Tenez Shift kliktante Reload, o presez sive Ctrl-F5, sive Ctrl-R (⌘-R ye Mac);
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R en komputeri Mac)
  • Internet Explorer/Edge: Tenez Ctrl kliktante Refresh, o presez Ctrl-F5
  • Opera: Irez a Menu → Settings (Opera → Preferences en komputeri Mac) e pose a Privateso & sekureso → Clear browsing data → Cached images and files.
/** extract a URL parameter from the current URL **********
 * From [[commons:en:user:Lupin/autoedit.js]]
 *
 * paramName  : the name of the parameter to extract
 */
 
function getParamValue( paramName, url) 
{
 if (typeof (url) == 'undefined' ) url = document.location.href;
 var cmdRe=RegExp( '[&?]' + paramName + '=([^&]*)' );
 var m=cmdRe.exec(url);
 if (m) {
  try {
   return decodeURIComponent(m[1]);
  } catch (someError) {}
 }
 return null;
}

/* [[commons:Bugzilla:021572]] -- [[commons:meta:user:Platonides]] */
$ ( function() { if (wgArticleId) mw.util.addPortletLink("p-tb", wgScript + "?curid=" + wgArticleId + ( ((wgNamespaceNumber == 24) && getParamValue('dataset')) ? "&dataset=" + getParamValue('dataset') : "" ) , "Short url", "t-curid", "Reference using its article id"); } );