Extension:Wikispeech

The Wikispeech project aims to create an open source text-to-speech tool to make Wikimedia's projects more accessible for people that have difficulties reading for different reasons. Wikispeech will be available as a MediaWiki extension. More information can be found on the project page; this page is just about the Wikispeech extension itself.

User guide
For an end user guide to Wikispeech, see Help:Extension:Wikispeech.

Installation

 * Download and place the file(s) in a directory called  in your   folder.
 * Run Composer to install PHP dependencies, by issuing  in the extension directory. (See T173141 for potential complications.)
 * Add the following code at the bottom of your LocalSettings.php: wfLoadExtension( 'Wikispeech' );
 * Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Setting up TTS-server
Wikispeech requires a TTS-server to generate audio. The easiest way to install this is to use the Docker Compose version. The installation instructions can be found at https://github.com/stts-se/wikispeech_compose/tree/master/docker. For other ways to install the server, see http://stts-se.github.io/wikispeech/. Ports 80 and 10000 need to be opened for accessing audio files and sending requests to the server respectively. Detailed instructions for installing the TTS-server on Cloud VPS can be found on /TTS-server on wmflabs.

Basic configuration
For Wikispeech to be able to communicate with the TTS-server, you need to specify the server's URL. You can do this by adding the following line to LocalSettings.php: where  is the URL to your TTS-server.

CSS
This is an incomplete list of the CSS rules that are most interesting for a non-developer.