Difference between revisions of "MediaWiki Debian Installation"

Jump to navigation Jump to search
 
==== Math extension, including Parsoid and Mathoid ====
I added the Extension:Math in the beginning of February 2020. Additionally, I added Parsoid and Mathoid, not being really sure whether this was needed. In any case, on the Parsoid site it is stated:<blockquote>Parsoid (the PHP version) is planned to come natively bundled with MediaWiki by June 2020. At that time, the setup instructions on this page will be updated. Until then, for non-Wikimedia installations, Parsoid/JS is the supported version of Parsoid. </blockquote>Parsoid and Mathoid are now services on my host. To access them via ports 8143 and 10043, respectively, I installed stunnel4<syntaxhighlight lang="shell">
sudo apt install stunnel4
</syntaxhighlight>with the conf-file:<syntaxhighlight lang="text">
/etc/stunnel/parsoid-mathoid.conf:
 
cert = /etc/letsencrypt/live/www.example.com/fullchain.pem
key = /etc/letsencrypt/live/www.example.com/privkey.pem
 
[parsoid]
accept = :::8143
connect = :::8142
 
[mathoid]
accept = :::10043
connect = :::10042
 
</syntaxhighlight>

Navigation menu