Extension:ElectronPdfService/pl

From mediawiki.org
This page is a translated version of the page Extension:ElectronPdfService and the translation is 5% complete.
Podręcznik rozszerzeń MediaWiki
ElectronPdfService
Status wydania: stabilne
Realizacja Interfejs użytkownika
Opis Provides access to the Proton service for browser-based PDF rendering
Autor(zy) Wikimedia Germany (WMDE) – Roadmap
Ostatnia wersja continuous updates
Polityka zgodności Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.42
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
Przykład Wikipedia article
  • $wgElectronPdfServiceRESTbaseURL
Quarterly downloads 36 (Ranked 106th)
Public wikis using 857 (Ranked 301st)
Przetłumacz rozszerzenie ElectronPdfService jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The ElectronPdfService extension provides access to the Proton service for browser-based PDF rendering. (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.
  • Pobierz i umieść plik(i) w katalogu o nazwie ElectronPdfService w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ElectronPdfService
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ElectronPdfService' );
    $wgElectronPdfServiceRESTbaseURL = '/api/rest_v1/page/pdf/';
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Usage

  • 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.

Links

Zobacz też