Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/286412
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math
refs/changes/12/286412/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/286412
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: wmf/1.27.0-wmf.22
Gerrit-Owner: Mobrovac <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits