There are a reported bug in the Mediawiki Wizard, so, it is a workaround.
- Solicitate SyntaxHighlight with the Online Mediawiki Wizard, and install it (the "bug install");
- Test to edit source code using the Wiki (edit some source tag)
- If not running:
- With SSH, at the Mediawiki folder, run again the Composer by the command
php composer.phar update --no-dev
. - Check that is executable,
ls -l /path/to/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize
(will return for example-rwxr-xr-x
).
It this the most important after all install... Dochmod a+x path
when necessary. - Try again
- .... other checks
- With SSH, at the Mediawiki folder, run again the Composer by the command
That the item 3.1, if try again, the messages will be:
> ComposerHookHandler::onPreUpdate Loading composer repositories with package information Updating dependencies Generating optimized autoload files > ComposerVendorHtaccessCreator::onEvent
If there are some permission errors or a kind of "Composer: file_put_contents(./composer.json): failed to open stream", etc. Try:
sudo chown -R $USER yourHtmlMediawikiFolder/
sudo chown -R $USER ~/.composer/
and, after it, run composer again (item 3.1). You your user is a problem, after run composer put back www-data
:
sudo chown -R www-data yourHtmlMediawikiFolder/
.