Last modified: 2011-03-28 23:43:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29835, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27835 - Math formulas broken mediawiki-1.16.2
Math formulas broken mediawiki-1.16.2
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.17.x
All Mac OS X 10.6
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://http://130.153.147.71/WW
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-03 10:02 UTC by Dmitrii Kouznetsov
Modified: 2011-03-28 23:43 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dmitrii Kouznetsov 2011-03-03 10:02:52 UTC
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?
Comment 1 Bryan Tong Minh 2011-03-03 10:07:55 UTC
For the <ref /> tags you need to install the Cite extension.
Comment 2 Krinkle 2011-03-03 11:40:03 UTC
<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.
Comment 3 Chad H. 2011-03-28 23:43:48 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links