| Summary: | Mediawiki-math README.install.urpmi gives unclear instructions | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | claire robinson <eeeemail> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doc-bugs, mageia, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mediawiki-math-1.0-1.110614.3.mga3 | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 4887 | ||
| Attachments: | Debug log using the math extention. | ||
|
Description
claire robinson
2012-09-11 13:02:19 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 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 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 Reassigning to bugsquad, there is no dedicated maintainer for this package anymore. Assignee:
oliver.bgr =>
bugsquad (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 |