jenkins-bot has submitted this change and it was merged. Change subject: Fix: Counter in math indexing script ......................................................................
Fix: Counter in math indexing script The couter that assigns subsequent equations numbers was not increased. Therefore all equations got the number 0. Change-Id: If6062570dde3d1145d716f7117dd9345682e34c9 --- M maintenance/UpdateMath.php 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Physikerwelt: Looks good to me, approved jenkins-bot: Verified diff --git a/maintenance/UpdateMath.php b/maintenance/UpdateMath.php index 577ab6f..9e1922d 100644 --- a/maintenance/UpdateMath.php +++ b/maintenance/UpdateMath.php @@ -164,6 +164,7 @@ if ( $this->getOption( "hooks", true ) ) { wfRunHooks( 'MathFormulaRendered', array( &$renderer, &$notused, $pid, $anchorID ) ); $this->time( "hooks" ); + $anchorID++; } $renderer->writeCache($this->dbw); $this->time("write Cache"); -- To view, visit https://gerrit.wikimedia.org/r/160646 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If6062570dde3d1145d716f7117dd9345682e34c9 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/MathSearch Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> Gerrit-Reviewer: Physikerwelt <w...@physikerwelt.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits