From af2396cc06c519788b377ae218c5d34176e5b462 Mon Sep 17 00:00:00 2001 From: Moritz Schubotz Date: Fri, 29 Apr 2016 20:18:41 -0400 Subject: [PATCH] Use the cached version of checkTex to improve performance Bug: T132096 Change-Id: Ia327b4fac7d826ba24027b9f5cea8ba45c7d9017 --- MathRestbaseInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MathRestbaseInterface.php b/MathRestbaseInterface.php index 6b9b00ccc..d2eef4f30 100644 --- a/MathRestbaseInterface.php +++ b/MathRestbaseInterface.php @@ -41,7 +41,7 @@ class MathRestbaseInterface { $i = 0; foreach ( $rbis as $rbi ) { /** @var MathRestbaseInterface $rbi */ - if ( $rbi->checkTeX() ) { + if ( $rbi->getSuccess() ) { $requests[] = $rbi->getContentRequest( 'mml' ); } else { $skips[] = $i;