Page MenuHomePhabricator

Math formulas broken mediawiki-1.16.2
Closed, DeclinedPublic

Description

Author: dima

Description:
Twice I tried to instal the mediawiki-1.16.2 ; both fail. The errors reproduce; so, I think, they may be due to the bug(s) in the distribution.
The diagnostics appear as follows:
Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert):
The mediawiki seems to fail to find the paths specified in the Localsetting.php :
$wgLatexCommand="ust/local/bib/latex
$wgTexvc="math/texvc"

The directories for the executables are specified in the .bathrc:
PATH=$PATH:/usr/local/texlive/texmf-local/
PATH=$PATH:/usr/texbin/
PATH=$PATH:/usr/local/bin/
export PATH

so, it is strange, that the mediawiki cannot find the standard programs (that work normally for the users of the server).

In addition, the <ref>tags</ref> are not supported; and the templates I copypast from wikipedia and citisendium produce non-readable output, and the logo image cannot be loaded from the same server (although it seems to load normally is borrowed from another server), and at the installation, the mediawiki could not find the eAccelerator. Perhaps these additional problems may be caused by the same error at the installation.

I tried to copy the executable mentioned above into the directories of the mediawiki installation (although I know that this would be a barbarian solution) but it also did not work...

May the previous versions of mediawiki be more robust at the installing, should I try them?


Version: 1.17.x
Severity: normal
OS: Mac OS X 10.6
URL: http://http://130.153.147.71/WW

Details

Reference
bz27835

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:31 PM
bzimport set Reference to bz27835.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

For the <ref /> tags you need to install the Cite extension.

<ref>-tags has never been in the software. Wikipedia has the extension installed as well.

Check it out at: http://www.mediawiki.org/wiki/Extension:Cite/Cite.php

Changing bug title and component.

(In reply to comment #0)

Twice I tried to instal the mediawiki-1.16.2 ; both fail. The errors reproduce;
so, I think, they may be due to the bug(s) in the distribution.
The diagnostics appear as follows:
Failed to parse (PNG conversion failed; check for correct installation of
latex, dvips, gs, and convert):

This sounds like you don't have all the requisite software installed.

The mediawiki seems to fail to find the paths specified in the Localsetting.php
:
$wgLatexCommand="ust/local/bib/latex

I'm not sure if that's a typo here in BZ, but it's most definitely a typo if it's like that in your LocalSettings.

The directories for the executables are specified in the .bathrc:

Your user's .bashrc has nothing to do with this, you need to make sure the programs are available to the user the web server runs as.

Closing as WORKSFORME, cannot replicate (also on OSX) and is most certainly a configuration issue. The query about <ref> issue is INVALID per comments 1 and 2 above.