mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 09:20:42 +00:00
Use the cached version of checkTex to improve performance
Bug: T132096 Change-Id: Ia327b4fac7d826ba24027b9f5cea8ba45c7d9017
This commit is contained in:
parent
db767e9e5e
commit
af2396cc06
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue