jenkins-bot has submitted this change and it was merged.

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


Use the cached version of checkTex to improve performance

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

Approvals:
  Mobrovac: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ia327b4fac7d826ba24027b9f5cea8ba45c7d9017
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Frédéric Wang <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: TheDJ <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to