Extension:Wikisource

MediaWiki extensions manual
OOjs UI icon advanced.svg
Wikisource
Release status: beta
Description Wikisource-specific MediaWiki customizations
Author(s) (Tpttalk)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backwards compatible.
License GNU General Public License 2.0 or later
Download
  • $wgWikisourceOcrUrl
  • $wgWikisourceEnableOcr
  • $wgWikisourceWikibaseEditionProperty
  • $wgWikisourceWikibaseEditionOfProperty
  • $wgWikisourceWsExportUrl
Translate the Wikisource extension if it is available at translatewiki.net

Check usage and version matrix.

Issues Open tasks · Report a bug

Wikisource is an extension to provide specific customizations for Wikisource wikis, including enhanced integration with Wikidata. It depends on WikibaseClient.

InstallationEdit

  • Download and place the file(s) in a directory called Wikisource in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Wikisource' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parametersEdit

WikisourceWikibaseEditionProperty
identifier of the Wikibase property has edition or translation (P747). By default P747 (the identifier of this property in Wikidata).
WikisourceWikibaseEditionOfProperty
identifier of the Wikibase property edition or translation of (P629). By default P629 (the identifier of this property in Wikidata).
WikisourceWsExportUrl
URL used for the sidebar links to WS Export (in $wgContentNamespaces only)