Jump to content

Extension:Citoid/pl

From mediawiki.org
This page is a translated version of the page Extension:Citoid and the translation is 11% complete.
Podręcznik rozszerzeń MediaWiki
Citoid
Status wydania: stabilne
Realizacja Interfejs użytkownika
Opis Enables the Citoid service to be used within VisualEditor .
Autor(zy)
Ostatnia wersja 0.3.0
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
Composer mediawiki/citoid
Licencja Licencja MIT
Pobieranie
  • $wgCitoidFullRestbaseURL
  • $wgWBCitoidFullRestbaseURL
  • $wgCitoidServiceUrl
  • $wgCitoidIsbnScannerEnabled
Quarterly downloads 10 (Ranked 126th)
Public wikis using 848 (Ranked 299th)
Przetłumacz rozszerzenie Citoid jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

Citoid is a MediaWiki extension that enables the Citoid service, which generates a citation given a URL or other identifier, to be used within VisualEditor .

This page covers only how to download and install the Citoid extension; for all information on how to actually use Citoid, please see the Citoid page.

Prerequisites

In order to run this extension, you must have the VisualEditor extension installed, and enable the VisualEditor citation tool .

The following additional extensions are not required to run Citoid, but are recommended:

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie Citoid 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/Citoid
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'Citoid' );
    
  • Configure as required.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

Set the location of your citoid service instance in your wiki's LocalSettings.php

// If the wiki is being served over https, the https protocol is required in the citoid service URL; otherwise the browser will block the request.
$wgCitoidServiceUrl = 'http://localhost:1970/api';
Option Default value Useful for… Documentation
$wgCitoidServiceUrl false Sysadmins Full url to use the native citoid api , i.e. http://localhost:1970/api. Only used if VisualEditorFullRestbaseURL is null.
$wgCitoidFullRestbaseURL false Sysadmins Full url to use a citoid service running behind restbase, i.e. https://en.wikipedia.org/api/rest_ (including the trailing _). Overwrites default, which is to use VisualEditorFullRestbaseURL (now deprecated). Does not need to be set if you are running citoid behind the same restbase instance as parsoid/VisualEditor; mostly useful for point to a cross domain restbase citoid installation.