Physikerwelt has uploaded a new change for review.

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

Change subject: Do not cache MathML results in database
......................................................................

Do not cache MathML results in database

* Currently the Math extension stores the rendering result from restbase
  in the database.
* This creates unnecessary write operations on the database

Change-Id: I5f07474fbf8017e39e94ac2b17676db1c3e92e72
---
M MathMathML.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/83/257883/1

diff --git a/MathMathML.php b/MathMathML.php
index 1de96be..dff9f41 100644
--- a/MathMathML.php
+++ b/MathMathML.php
@@ -100,6 +100,7 @@
                        $this->mathml = $rbi->getMathML();
                        $this->svg = $rbi->getSvg();
                        $this->svgPath = $rbi->getFullSvgUrl();
+                       $this->changed = false;
                        return $rbi->getSuccess();
                }
                if ( $forceReRendering ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f07474fbf8017e39e94ac2b17676db1c3e92e72
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to