Physikerwelt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/261630
Change subject: Start formula numbering with 0
......................................................................
Start formula numbering with 0
Change-Id: I70d317b3c5ca4c088da9c4c6574a19e084d14936
---
M includes/MathIdGenerator.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch
refs/changes/30/261630/1
diff --git a/includes/MathIdGenerator.php b/includes/MathIdGenerator.php
index 1aeb2e9..d48ccee 100644
--- a/includes/MathIdGenerator.php
+++ b/includes/MathIdGenerator.php
@@ -172,6 +172,6 @@
*/
private function formatKey( $key ) {
$keys = $this->getKeys();
- return sprintf( $this->format, $this->revisionId, $keys[$key] +
1 );
+ return sprintf( $this->format, $this->revisionId, $keys[$key] );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/261630
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70d317b3c5ca4c088da9c4c6574a19e084d14936
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits