Bug 7445 - Mediawiki-math README.install.urpmi gives unclear instructions
Summary: Mediawiki-math README.install.urpmi gives unclear instructions
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 4887
  Show dependency treegraph
 
Reported: 2012-09-11 13:02 CEST by claire robinson
Modified: 2016-10-15 20:32 CEST (History)
3 users (show)

See Also:
Source RPM: mediawiki-math-1.0-1.110614.3.mga3
CVE:
Status comment:


Attachments
Debug log using the math extention. (2.65 KB, text/plain)
2012-09-17 20:06 CEST, William Murphy
Details

Description claire robinson 2012-09-11 13:02:19 CEST
The command in /usr/sbin has a lowercase e on extension but the installation instructions specify an uppercase E.
Comment 1 claire robinson 2012-09-11 13:39:12 CEST
Changing the summary to be more general.  For reference, comment 1 refers to 
mediawiki-addMathextensionToInstances.

--------------------------------
To use this extension, you have to add
the following lines to your LocalSettings.php

require_once("/usr/share/mediawiki/extensions/Math/Math.php");
$wgTexvc = "/usr/share/mediawiki/extensions/Math/texvc";

Then run mediawiki-addMathExtensionToInstances as root.

In addition make sure the variables $wgMathDirectory,
$wgMathPath and $wgTmpDirectory are set as well as the
more general variables $wgEnableUploads and $wgUploadPath
according to your wiki instance paths.

Then run mediawiki-updateall to update the databases of
your mediawiki instances.

For more information, see http://www.mediawiki.org/wiki/Extension:Math
-------------------------------------


$wgTexvc gives an incorrect path to texvc executable.
$wgTexvc = "/usr/share/mediawiki/extensions/Math/texvc";
should be..
$wgTexvc = "/usr/share/mediawiki/extensions/Math/math/texvc";

The paragraph starting 'In addition..' needs some clarification. Where should these variables be set? They are not present in LocalSettings.php but I think that is where you mean. Could you add some more info about them please.

I tested with the <math> example from here:http://www.mediawiki.org/wiki/Manual:Math

This is the result..

Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): \operatorname{erfc}(x) = \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}

I may just be missing some part of the configuration, mathpath or mathdirectory or something but not sure.

Summary: Mediawiki-math README.urpmi gives mediawiki-addMathExtensionToInstances - should be mediawiki-addMathextensionToInstances => Mediawiki-math README.install.urpmi gives unclear instructions

Marja Van Waes 2012-09-11 15:25:45 CEST

CC: (none) => doc-bugs, marja11

Comment 2 William Murphy 2012-09-17 20:06:45 CEST
Created attachment 2805 [details]
Debug log using the math extention.

Following the same <math> example as Claire, ends in the same results:

Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)):    \operatorname{erfc}(x) = ... 

In the code, that error is printed because the png file is not found. There doesn't appear to be any other errors in the log. 

FYI: I stumbled into a new feature (as of 1.19) that is somewhat helpful here. Adding this line to LocalSettings.php:

$wgDebugToolbar = true;

Puts a bar across the bottom of the window with some useful information, including the debugging log.
Marja Van Waes 2013-02-26 20:03:06 CET

Blocks: (none) => 4887

Comment 3 Marja Van Waes 2013-05-23 17:59:42 CEST
Even if a higher version, we do still have the same package:


Sat Jan 12 2013 umeabot <umeabot> 1.0-1.110614.3.mga3

+ Revision: 359908
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild


Sat Sep 8 2012 obgr_seneca <obgr_seneca> 1.0-1.110614.2.mga3

+ Revision: 290101
- updated so it does work with new mediawiki

So still valid

cc'ing Stéphane, in case he wants to help with our wiki upgrade.

CC: (none) => contact
Source RPM: mediawiki-math => mediawiki-math-1.0-1.110614.3.mga3

Comment 4 Samuel Verschelde 2015-05-06 21:15:18 CEST
Reassigning to bugsquad, there is no dedicated maintainer for this package anymore.

Assignee: oliver.bgr => bugsquad

Comment 5 Samuel Verschelde 2016-10-15 20:32:31 CEST
(In reply to Samuel Verschelde from comment #4)
> Reassigning to bugsquad, there is no dedicated maintainer for this package
> anymore.

And now assigning to all packagers collectively, since we have a dedicated bugzilla user and mailing list for that.

Assignee: bugsquad => pkg-bugs


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