Extension:ElectronPdfService/fr

Category:GPL licensed extensions/fr
Manuel des extensions MediaWiki
ElectronPdfService
État de la version : stableCategory:Stable extensions/fr
Implémentation Interface utilisateurCategory:User interface extensions/fr
Description Fournit un accès au service Electron pour un rendu PDF sur navigateur
Auteur(s) Wikimedia Germany (WMDE) – Roadmap
Dernière version continuous updates
Politique de compatibilité Versions ponctuelles alignées avec MediaWiki. Le master n'est pas compatible arrière.
Modifie la base
de données
Non
Licence Licence publique générale GNU v2.0 ou supérieur
Téléchargement Category:Extensions in Wikimedia version control/fr
Exemple Wikipedia article
  • $wgElectronPdfServiceRESTbaseURL
Traduire l’extension ElectronPdfService sur translatewiki.net si elle y est disponible
Problèmes Tâches ouvertes · Signaler un bogue
Category:All extensions/fr

L'extension ElectronPdfService fournit un accès au service Electron pour le rendu PDF sur navigateur. (Proton needs to be installed separately.)

Historically, this extension provided access to the now defunct Electron PDF Service instead of Proton, hence its name.

Description

The extension provides a handy way to access the Proton service via a RESTBase API endpoint.

And here's an example: PDF for the article about Berlin.

Installation

  • Install RESTBase, and set up a config similar to config.example.wikimedia.yaml. Adjust the PDF server URL to reflect your host & port.
  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé ElectronPdfService dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ElectronPdfService
    
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'ElectronPdfService' );
    $wgElectronPdfServiceRESTbaseURL = '/api/rest_v1/page/pdf/';
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Utilisation

  • Once the extension is installed, the “⧼ElectronPdfService-download-label⧽” link in the MediaWiki sidebar will lead you to a new selection screen.
  • Click the “⧼ElectronPdfService-download-button⧽” button to get the PDF.
  • Note: if there is no alternative rendering method available on the Wiki, “⧼ElectronPdfService-download-label⧽” will immediately serve you the Proton rendered PDF without showing a selection screen.

Liens

Voir aussi

Category:PDF extensions/fr Category:Extensions used on Wikimedia/fr#ElectronPdfService/fr
Category:All extensions/fr Category:Extensions in Wikimedia version control/fr Category:Extensions included in WikiForge/fr Category:Extensions used on Wikimedia/fr Category:GPL licensed extensions/fr Category:PDF extensions/fr Category:SidebarBeforeOutput extensions/fr Category:Stable extensions/fr Category:User interface extensions/fr