Extension:ElectronPdfService
Outdated translations are marked like this.
![]() État de la version : stable |
|
---|---|
![]() |
|
Implémentation | Interface utilisateur |
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. |
MediaWiki | 1.25+ |
Modifie la base de données |
Non |
Licence | Licence publique générale GNU v2.0 ou supérieur |
Téléchargement | |
Exemple | Wikipedia article |
|
|
Téléchargements trimestriels | 28 (Ranked 142nd) |
Utilisation des wikis publics | 944 (Ranked 268th) |
Traduire l’extension ElectronPdfService sur translatewiki.net si elle y est disponible | |
Problèmes | Tâches ouvertes · Signaler un bogue |
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 Proton
- 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 dossierextensions/
. - Ajoutez le code suivant à la fin de votre fichier
LocalSettings.php
:wfLoadExtension( 'ElectronPdfService' ); $wgElectronPdfServiceRESTbaseURL = '/api/rest_v1/page/pdf/';
- 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
- PDF export – summary of all PDF export extensions
- Read more on the background of the motivation for the extension and the service.