Physikerwelt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/160646

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch 
refs/changes/46/160646/1

diff --git a/maintenance/UpdateMath.php b/maintenance/UpdateMath.php
index 577ab6f..b646748 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: newchange
Gerrit-Change-Id: If6062570dde3d1145d716f7117dd9345682e34c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <w...@physikerwelt.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to