Pablo-WMDE added a comment.

This looks like getValidModes is called before the ExtensionRegistration stuff sets the configs / globals, hence $wgMathValidModes is not an array

It is works for me locally when running through docker-compose exec --user root "web" bash //var/www/mediawiki/.docker/installdbs default

array(3) {
  [0] =>
  string(3) "png"
  [1] =>
  string(6) "source"
  [2] =>
  string(6) "mathml"
}

TASK DETAIL
https://phabricator.wikimedia.org/T202223

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Pablo-WMDE
Cc: gerritbot, MarcoAurelio, Pablo-WMDE, Addshore, WMDE-leszek, Aklapper, Physikerwelt, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Maosef, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Debenben, Izno, Wikidata-bugs, aude, fredw, Pkra, Darkdadaah, scfc, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to