Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/72699
Change subject: new Feature: Create dumpswith MathnML ...................................................................... new Feature: Create dumpswith MathnML new plugin for export that installes a new filter called mathml fix: adjustments to the new version of the math extension in the math re-rendering script Change-Id: I94749bafb9b0f94a62e517c748ee416368d2eecb added: missing files for calculation of distances TODO: Install script for these function --- M maintenance/ReRenderMath.php 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch refs/changes/99/72699/1 diff --git a/maintenance/ReRenderMath.php b/maintenance/ReRenderMath.php index a10212a..413835e 100644 --- a/maintenance/ReRenderMath.php +++ b/maintenance/ReRenderMath.php @@ -106,12 +106,12 @@ echo( "\t\t slow equation " . ( $anchorID -1 ) . "beginning with" . substr( $formula, 0, 10 ) . "rendered in " . ( $tend -$tstart ) . "s. \n" ); } - if ( $renderer->getSuccess() ) { - $renderer->writeCache(); - } else { + $renderer->writeCache(); + + if ( $renderer->getLastError() ) { echo "F:\t\t equation " . ( $anchorID -1 ) . "-failed beginning with" . substr( $formula, 0, 5 ) - . "mathml:" . $renderer->mathml; + . "mathml:" . $renderer->getMathml(); } } return $matches; -- To view, visit https://gerrit.wikimedia.org/r/72699 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I94749bafb9b0f94a62e517c748ee416368d2eecb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MathSearch Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits