Extension:Citoid/pl
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. |
| Licencja | Licencja MIT |
| Pobieranie | |
|
|
| 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 following required extensions installed:
The following additional extensions are not required to run Citoid, but are recommended if you have imported citation templates from one of the Wikipedias:
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
Citoidw folderzeextensions/.
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.
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';
| Option | Default value | Useful for… | Documentation |
|---|---|---|---|
$wgCitoidServiceUrl
|
false
|
Sysadmins | Full or relative url where citoid is deployed with no trailing slash i.e. http://localhost:1970 , https://en.wikipedia.org/api/rest_v1/data/citation, or /api/rest_v1/data/citation
For version of mediawiki 1.44.0 and above, the trailing /api in |
| Deprecated
|
false
|
Sysadmins | Despite its name, full or relative partial url to use a citoid service running behind restbase or using a restful pattern, excluding the restbase version number i.e. https://en.wikipedia.org/api/rest_ or /api/rest_ (including the trailing _). On Wikimedia wikis, Citoid is now served behind Rest Gateway and not Restbase so "restbase" is currently a misnomer. This config is deprecated and you should use $wgCitoidServiceUrl instead.
|
| To rozszerzenie jest wykorzystywane przez jeden lub więcej projektów Wikimedia. Oznacza to prawdopodobnie, że to rozszerzenie jest stabilne i działa wystarczająco dobrze, aby wykorzystywać je na stronach o dużym natężeniu ruchu. Odnajdź nazwę tego rozszerzenia w plikach konfiguracyjnych Wikimedia CommonSettings.php oraz InitialiseSettings.php, aby zobaczyć gdzie są zainstalowane. Pełną listę rozszerzeń zainstalowanych na określonej wiki można znaleźć na stronie Special:Version na danej wiki. |
- Stable extensions/pl
- User interface extensions/pl
- MIT licensed extensions/pl
- Extensions in Wikimedia version control/pl
- BeforePageDisplay extensions/pl
- GetPreferences extensions/pl
- ResourceLoaderGetConfigVars extensions/pl
- All extensions/pl
- Extensions used on Wikimedia/pl
- Extensions with VisualEditor support/pl
