Physikerwelt has uploaded a new change for review.

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

Change subject: Use the cached version of checkTex to improve performance
......................................................................

Use the cached version of checkTex to improve performance

Change-Id: Ia327b4fac7d826ba24027b9f5cea8ba45c7d9017
---
M MathRestbaseInterface.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/MathRestbaseInterface.php b/MathRestbaseInterface.php
index 6b9b00c..d2eef4f 100644
--- a/MathRestbaseInterface.php
+++ b/MathRestbaseInterface.php
@@ -41,7 +41,7 @@
                $i = 0;
                foreach ( $rbis as $rbi ) {
                        /** @var MathRestbaseInterface $rbi */
-                       if ( $rbi->checkTeX() ) {
+                       if ( $rbi->getSuccess() ) {
                                $requests[] = $rbi->getContentRequest( 'mml' );
                        } else {
                                $skips[] = $i;

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

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