Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22418 - [mediawiki] does not work with texvc symlink
Attached to Project:
Community Packages
Opened by Óscar Pereira (gauthma) - Friday, 14 January 2011, 00:36 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 14 January 2011, 09:58 GMT
Opened by Óscar Pereira (gauthma) - Friday, 14 January 2011, 00:36 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 14 January 2011, 09:58 GMT
|
DetailsDescription: when installing mediawiki, inside its installation directory, exits a subdirectory called "math". The PKGBUILD for mediawiki creates, inside that math subdir, a symlink to the texvc executable, usually /usr/bin/texvc. But the problem is that when mediawiki runs, it will check that the file inside *it's math directory* (i.e. the symlink), is *executable*, and if this is not the case, refuse to render the math (presumably LaTeX) code. On the site, a message will be shown complaining that texvc is not installed. Specifically, see <path_to_mediawiki>/includes/Math.php, line 58 and following:
if( function_exists( 'is_executable' ) && !is_executable( $wgTexvc ) ) { return $this->_error( 'math_notexvc' ); } Additional info: * mediawiki version 1.16.1-1 Steps to reproduce: install mediawiki, and texvc, and insert some math code into the wiki: the rendering will fail, with a message saying that texvc is not installed Note: in the category, it's selected "Packages: Extra" because "Packages Community" is a missing option in the dropdown box... |
This task depends upon
Closed by Sergej Pupykin (sergej)
Friday, 14 January 2011, 09:58 GMT
Reason for closing: Fixed
Additional comments about closing: replaced with:
if( function_exists( 'is_file' ) && !is_file( $wgTexvc ) ) {
Also workaround is changing texvc path configuration parameter
Friday, 14 January 2011, 09:58 GMT
Reason for closing: Fixed
Additional comments about closing: replaced with:
if( function_exists( 'is_file' ) && !is_file( $wgTexvc ) ) {
Also workaround is changing texvc path configuration parameter