Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249816
Change subject: Change array_map to array
......................................................................
Change array_map to array
It was causing the web updater to fail for everything.
Bug: T88946
Change-Id: If49c5f091865d9bcbc5a18d7f65c259b7b548d90
---
M MathRenderer.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math
refs/changes/16/249816/1
diff --git a/MathRenderer.php b/MathRenderer.php
index 779465d..d9761db 100644
--- a/MathRenderer.php
+++ b/MathRenderer.php
@@ -649,7 +649,7 @@
public static function getValidModes() {
global $wgMathValidModes;
- return array_map( "MathHooks::mathModeToString",
$wgMathValidModes );
+ return array( "MathHooks::mathModeToString", $wgMathValidModes
);
}
--
To view, visit https://gerrit.wikimedia.org/r/249816
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If49c5f091865d9bcbc5a18d7f65c259b7b548d90
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits