MediaWiki:Gadget-ePubDownloadLink.js

Da Wikisource

Ocio: Daspò ver salvà, podaria esare neçesario snetare ła cache dal propio navegadore web par vedare i canbiamenti.

  • Firefox / Safari: tegner strucà el boton de łe letare grande Shift e schiciare sora Ricarga, o se nò struca Ctrl-F5 o Ctrl-R (⌘-R so Mac)
  • Google Chrome: strucare Ctrl-Shift-R (⌘-Shift-R so on Mac)
  • Internet Explorer / Edge: tegner strucà el boton Ctrl e schiciare so Ajorna, o sinò Ctrl-F5
  • Opera: Va in tel Menu → Inpostasion (Opera → Prefarense so on Mac) e pò in Privacy & sicuresa → Sneta dati del navegadore → Imajini e file in te ła cache.
//link "Scarica come ePub" nel menu a sx
if ( $('#intestazion').length > 0 ) {
  $(document).ready( function () {

    var ePubLinkCustomMsg = "Descarga come ePub";
    var ePubDescCustomMsg = "Descarga sto testo in formato ePub";

    if (mw.user.options.get('language') == 'it') {
        ePubLinkCustomMsg = "Scarica come ePub";
        ePubDescCustomMsg = "Scarica questo testo in formato ePub";
    }
    else if (mw.user.options.get('language') == 'en') {
        ePubLinkCustomMsg = "Download as ePub";
        ePubDescCustomMsg = "Download this text in ePub format";
    }

    mw.util.addPortletLink('p-coll-print_export', 'http://wsexport.wmflabs.org/tool/book.php?lang=vec&format=epub&page=' + mw.config.get('wgPageName'), ePubLinkCustomMsg, 'n-epubExport', ePubDescCustomMsg, '', '#t-print'); 
   });
}
Traesto fora da Wikipèdia - L'ençiclopedia łìbara e cołaboradiva in łéngua Vèneta "https://vec.wikisource.org/w/index.php?title=MediaWiki:Gadget-ePubDownloadLink.js&oldid=51002"