Physikerwelt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/121929

Change subject: Remove SVG generation from updateMath script
......................................................................

Remove SVG generation from updateMath script

* SVG generation can not work inside the
  updateMath maintenance script.
* The SVG renderer would try to read the
  tex input string from the database that does
  not contain the entry, due to delayed writes.

Change-Id: I5cdcee52d1e5493af71eca44778333ff9aa1e0a1
---
M maintenance/UpdateMath.php
1 file changed, 6 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch 
refs/changes/29/121929/1

diff --git a/maintenance/UpdateMath.php b/maintenance/UpdateMath.php
index b7e4103..2970ade 100644
--- a/maintenance/UpdateMath.php
+++ b/maintenance/UpdateMath.php
@@ -140,13 +140,12 @@
                                        } else {
                                                $this->time("LaTeXML-Fail");
                                        }
-                                       $svg = $renderer->getSvg();
-                                       if( $svg ){
-                                               $this->time("SVG-Rendering");
-                                       } else {
-                                               $this->time("SVG-Fail");
-                                       }
-
+//                                     $svg = $renderer->getSvg();
+//                                     if( $svg ){
+//                                             $this->time("SVG-Rendering");
+//                                     } else {
+//                                             $this->time("SVG-Fail");
+//                                     }
                                }else{
                                        $this->time("checkTex-Fail");
                                        echo "\nF:\t\t".$renderer->getMd5()." 
texvccheck error:" . $renderer->getLastError();

-- 
To view, visit https://gerrit.wikimedia.org/r/121929
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5cdcee52d1e5493af71eca44778333ff9aa1e0a1
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

Reply via email to