Physikerwelt has submitted this change and it was merged.
Change subject: new Feature: Create dumps with MathML
......................................................................
new Feature: Create dumps with MathML
new plugin for export that installs a new filter called mathml
fix: adjustments to the new version of the math extension in
the ReRenderMath script
added: missing database functions for calculation of distances
used in the CalculateDistances script
(still open: write install script for these functions)
Change-Id: I94749bafb9b0f94a62e517c748ee416368d2eecb
---
M maintenance/ReRenderMath.php
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Physikerwelt: Verified; Looks good to me, approved
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: merged
Gerrit-Change-Id: I94749bafb9b0f94a62e517c748ee416368d2eecb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits