Thread:Extension talk:VisualEditor/Installing VisualEditor on MediaWiki 1.25.1 on Debian 7

This is an overview of what it took for me to get VisualEditor working with MediaWiki 1.25.1, I hope this helps other people that might be experiencing issues in the setup.

Requirements (This is what My System is currently using)
 * MediaWiki 1.25.1
 * VisualEditor REL1_25
 * UniversalLanguageSelector REL1_25
 * parsoid 2.2.0
 * nodejs 0.10.38-1chl1
 * php5-curl 5.4.39-0+deb7u

Installing/Update parsoid' apt-get install parsoid apt-get install nodejs apt-get install php5-curl

Testing parsoid to make sure it works cd /usr/lib/parsoid/src/tests ./runtests.sh

The test should run and complete, there will be warning and possibly errors for parsoid bugs. The full results can be viewed in the folder /usr/lib/parsoid/src/tests/results/all.txt

Update the following files with the correct parsoidConfig settings (I seems like you need both for it to work in a Debian Environment) Also you MUST restart the parsoid service every time you change either file for the changes to take effect. /etc/mediawiki/parsoid/settings.js /usr/lib/parsoid/src/api/localsettings.js

i.e.  <- Remove the space between http: //localhost

Installing MediaWiki 1.25.1 and VisualEditor


 * MediaWiki 1.25.1 http://releases.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz - stable
 * VisualEditor REL1_25 http://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_25-c1ed854.tar.gz - stable
 * UniversalLanguageSelector REL1_25 http://extdist.wmflabs.org/dist/extensions/UniversalLanguageSelector-REL1_25-7661826.tar.gz - stable

Instructions on configuring the LocalSettings.php (More or less copy and paste)


 * http://www.mediawiki.org/wiki/Extension:VisualEditor
 * http://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector

 Notes:  Multiple MediaWiki Instances on Single Host I can confirm that I am able to run multiple MediaWiki instances on a single host and VisualEditor works fine. Parse the Link below for how I am doing it on my site.

http: //sharkysoft.com/wiki/how_to_configure_multiple_MediaWiki_instances_on_a_single_host

Slowness with parsoid Still have not quite figured this one out, but after stopping restarting apache and parsoid the parser times have stabilized for me.