wiki:MediaWiki

Version 33 (modified by chris, 20 months ago) (diff)

Added link to MediaWiki#Updates 1.23.9 ticket:841

Table of Contents

  1. Parsoid
  2. Updates
  3. Tickets

MediaWiki - wiki.transitionnetwork.org

Documentation for the wiki.transitionnetwork.org server which is running MediaWiki on PenguinServer.

The site is now running the latest version of Mediawiki, it was upgraded to 1.22.5 on ticket:706 to enable the new VisualEditor to be used, prior to this the site was running the long term support version of Mediawiki, see ticket:455 and also see the install notes on ticket:357#comment:10 and ticket:470#comment:10 login is via HTTPS.

Parsoid

The new MediaWiki visual editor: Parsoid: How Wikipedia catches up with the web:

Parsoid is implemented as a node.js-based web service. There are two distinct, and somewhat independent pieces to Parsoid: the parser and runtime that converts Wikitext to HTML, and the serializer that converts HTML to Wikitext.

As part of the upgrade to 1.22.5 a Parsoid server was installed and then on ticket:736#comment:6 we changed to using a deb repo for updating parsoid and then on ticket:799#comment:11 we switched to using a remote Parsoid server as the latest version of Parsoid didn't work on Debian Wheezy.

When we has Parsoid installed on PenguinServer we used these commands to start and stop the node.js service:

/etc/init.d/parsoid stop
/etc/init.d/parsoid start

The service was run via the /etc/init.d/pslparsoid script, see ticket:706#comment:12 for the source of the pslparsoid init.d script, until we switched to the Debian version.

Updates

See https://www.mediawiki.org/wiki/Version_lifecycle for information about versions and their end-of-life dates.

Update process:

sudo -i
cd /web/wiki.transitionnetwork.org
export MW="1.23.1"
wget http://releases.wikimedia.org/mediawiki/1.23/mediawiki-$MW.tar.gz -O mediawiki-$MW.tar.gz
wget http://releases.wikimedia.org/mediawiki/1.23/mediawiki-$MW.tar.gz.sig -O mediawiki-$MW.tar.gz.sig
gpg --verify mediawiki-$MW.tar.gz.sig 
tar -zxvf mediawiki-$MW.tar.gz
rsync -av mediawiki-$MW/ www/
chown root:root -R www/
chown -R www-data:www-data www/cache/
chown -R www-data:www-data www/images/
cd www/maintenance/
php update.php 
cd /web/wiki.transitionnetwork.org
rm mediawiki-$MW.tar.gz mediawiki-$MW.tar.gz.sig
rm -rf mediawiki-$MW

Note that we are using a git version of VisualEditor, see ticket:736#comment:14, this might not be needed after the next update.

Then check https://wiki.transitionnetwork.org/Special:Version and make sure everything is working OK.

Tickets

Open Mediawiki tickets: #870, #879, #892

Ticket Summary Owner Reporter
#892 MediWiki Security Release: 1.26.1, 1.25.4, 1.24.5 and 1.23.12 chris chris
#879 MediaWiki 1.23.11 chris chris
#870 MediaWiki 1.23.10 chris chris

Closed Mediawiki tickets: #129, #148, #192, #230, #381, #394, #402, #419, #432, #455, #505, #506, #532, #536, #551, #595, #620, #669, #686, #694, #700, #706, #723, #733, #736, #753, #766, #781, #793, #799, #813, #816, #841

Ticket Summary Owner Reporter
#841 Mediawiki 1.23.9 chris chris
#816 MediaWiki 1.23.8 chris chris
#813 MediaWiki 1.23.7 chris chris
#799 MediaWiki Visual Editor broken from Parsoid update chris chris
#793 MediaWiki Security and Maintenance Release 1.23.5 chris chris
#781 MediaWiki Security and Maintenance Releases: 1.22.10 and 1.23.3 chris chris
#766 MediaWiki Security and Maintenance Update 1.23.2 chris chris
#753 wiki.transitionnetwork.org displaying error chris chris
#736 Upgrade to MediaWiki 1.23.0 chris chris
#733 Mediawiki 1.22.7 security update chris chris
#723 Mediawiki 1.22.6 Upgrade chris chris
#706 Upgrade Mediawiki to 1.22.5 and install the new VisualEditor chris chris
#700 Mediawiki 1.19.13 chris chris
#694 Mediawiki 1.19.12 upgrade chris chris
#686 MediaWiki 1.19.11 Update chris chris
#669 Mediawiki upgrade to 1.19.10 chris chris
#620 Upgrade MediaWiki to 1.19.9 chris chris
#595 Upgrade Mediawiki to 1.19.8 from 1.19.7 chris chris
#551 Mediawiki 1.19.7 upgrade chris chris
#536 Upgrade Mediawiki to 1.19.6 chris chris
#532 Upgrade to Mediawiki 1.19.5 chris chris
#506 Mediawiki 1.19.4 Upgrade chris chris
#505 Critical Mediawiki security upgrade chris chris
#455 Upgrade to Mediawiki 1.20 chris chris
#432 Ed has buggered the PSE wiki homepage chris ed
#419 Upgrade Mediawiki to 1.19.2 chris chris
#402 upgrade mediawiki to 1.18.2 chris chris
#394 Upgrade Mediawiki to 1.18.1 chris chris
#381 PSE Documentation ed chris
#230 Mediawiki Upgrades chris chris
#192 Mediawiki SpamBlacklist configuration needs checking chris chris
#148 Wiki https certificate chris chris
#129 Add WYSIWYG to mediawiki chris ed