Extension:Wikisource/cs
Wikisource is an extension to provide specific customizations for Wikisource wikis, including enhanced integration with Wikibase, the WS Export tool, and Wikimedia OCR.
End-user help is available at Help:Extension:Wikisource.
Předpoklady
- The Wikidata integration depends on WikibaseClient extension.
- WS Export integration depends on the WS Export tool, installation of which is documented at wikitech:Nova Resource:Wikisource/Wikisource Export.
- OCR integration depends on the ProofreadPage extension and the Wikimedia OCR tool, installation of which is documented at wikitech:Nova Resource:Wikisource/Wikimedia OCR.
Instalace
- Stáhněte soubor/y a vložte je do adresáře pojmenovaného
Wikisource
ve vaší složceextensions/
.
Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Wikisource - Na konec vašeho souboru LocalSettings.php přidejte následující kód:
wfLoadExtension( 'Wikisource' );
Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.
Konfigurační parametry
$wgWikisourceWikibaseEditionProperty
- identifier of the Wikibase property has edition or translation (P747). By default
P747
(the identifier of this property in Wikidata). $wgWikisourceWikibaseEditionOfProperty
- identifier of the Wikibase property edition or translation of (P629). By default
P629
(the identifier of this property in Wikidata). $wgWikisourceWsExportUrl
- URL used for the sidebar links to WS Export (in $wgContentNamespaces only)
$wgWikisourceEnableOcr
- Whether to show the OCR toolbar UI. Defaults to
false
. $wgWikisourceOcrUrl
- URL of the OCR tool, linked from the toolbar when editing in the Page namespace.
![]() | Toto rozšíření se používá na jednom nebo více projektech Wikimedia. Pravděpodobně to znamená, že rozšíření je stabilní a funguje dostatečně dobře, aby jej mohly používat weby s tak vysokou návštěvností. Vyhledejte tento název rozšíření v konfiguračních souborech CommonSettings.php a InitialiseSettings.php Wikimedie, abyste viděli, kde je nainstalováno. Úplný seznam rozšíření nainstalovaných na konkrétní wiki lze vidět na stránce wiki Special:Version. |
Category:All extensions/cs
Category:ArticleViewHeader extensions/cs
Category:EditPage::showEditForm:initial extensions/cs
Category:Extensions in Wikimedia version control/cs
Category:Extensions used on Wikimedia/cs
Category:Extensions with invalid or missing type/cs
Category:GPL licensed extensions/cs
Category:GetPreferences extensions/cs
Category:SidebarBeforeOutput extensions/cs
Category:Stable extensions/cs
Category:WikibaseClientSiteLinksForItem extensions/cs