Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: hobsi on April 06, 2019, 09:42:51 AM
-
Hi.
Has anyone been able to get MediaWiki working properly on their server.
Everything seems ok except that I cannot get VisualEditor to work.. Having no editor toolbar is a real hindrance.
Any suggestions are welcome. Someone must have overcome this problem.
Thanks
-
Yes but not sure about 'visual editor'.
Is it a plugin?
-
VisutlEditor (https://www.mediawiki.org/wiki/Extension:VisualEditor) is an extension. It is installed in the Koozali wiki (https://wiki.contribs.org/Special:Version).
I tried to install Mediawiki using the instructions at wiki.contribs.org/Mediawiki (https://wiki.contribs.org/Mediawiki), but they don't work:
yum --enablerepo=smecontribs install smeserver-mediawiki
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos4.zswap.net
* smeaddons: mirror.canada.pialasse.com
* smecontribs: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: centos4.zswap.net
base | 3.7 kB 00:00
smeaddons | 2.9 kB 00:00
smeextras | 2.9 kB 00:00
smeos | 3.1 kB 00:00
smeupdates | 2.9 kB 00:00
updates | 3.4 kB 00:00
No package smeserver-mediawiki available.
Error: Nothing to do
-
Looks like the contrib version was for SME 7.
I think we just installed manually straight to an ibay without a contrib.
So the wiki needs updating.
The visual.editor I have no idea. It may may have additional requirements beyond SME 9.2 - the contribs wiki does run on SME so it is not a comparison.
From the documentation it looks like it should run but is does have some limitations.
-
smeserver-mediawiki has not been maitained for years, and need some volunteer to update.
mediawiki should work in an ibay.
visualeditor need a parsoid service running in background. see https://wiki.contribs.org/Parsoid
also you will need a recent version at least 1.27 and download the appropriate version of the plugin.
-
My mediawiki just runs straight out of an ibay.
Just download, extract make sure you have a DB somewhere and off you go.
As JP indicates, running the visual editor may be a bit trickier.
On a side note, there is a docker install that has it all built in.
https://www.mediawiki.org/wiki/Docker
https://github.com/pastakhov/compose-mediawiki-ubuntu
That probably isn't easy or even possible to run on SME v9 but it is the way of the future.
-
I have it working in an ibay and with parsoid for visualeditor. The wiki page i pointed out is how we did to get it working right.
We also had the pdf plugin to create book working. It also needs a service running on the server, I also wrote a wiki page for it.