Extension:ElectronPdfService/fr
From Linux Web Expert
ElectronPdfService État de la version : stable |
|
---|---|
File:ElectronPdfService-mockup.png | |
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 | |
Modifie la base de données |
Non |
Licence | Aucune licence spécifiée |
Téléchargement | |
Exemple | Wikipedia article |
Téléchargements trimestriels | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Utilisé par les wikis publics | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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.
- <translate> [[<tvar name=2>Special:ExtensionDistributor/ElectronPdfService/fr</tvar>|Download]] and move the extracted <tvar name=name>
ElectronPdfService/fr
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ElectronPdfService%2Ffr - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'ElectronPdfService/fr' ); $wgElectronPdfServiceRESTbaseURL = '/api/rest_v1/page/pdf/';
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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.
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
ElectronPdfService-mockup.png |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions/fr
- User interface extensions/fr
- Extensions without MediaWiki version
- Extensions with no license specified/fr
- Extensions in Wikimedia version control/fr
- All extensions/fr
- Extensions not in ExtensionJson
- PDF extensions/fr
- Extensions used on Wikimedia/fr