Based on a recent dump of all math in Wikimedia projects https://doi.org/10.5281/zenodo.17898175
usage statistics that list the number of formulae (and the number of pages) that each wiki has https://doi.org/10.5281/zenodo.17838885
have been created.
By intersecting the items in the statistics with 0 formulae and the parsoid rendered dblist https://noc.wikimedia.org/conf/highlight.php?file=dblists/parsoidrendered.dblist
we can derive the wikis to be enabled.
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Switch math rendering for group0 from native to mathjax | Physikerwelt | operations/mediawiki-config | master | +1 -1 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Feature | JeanCASPAR | T397585 Provide a macro for putting arbitrary Unicode content in <mo> tag | ||
| Open | Physikerwelt | T271001 Transition to client-side MathJax SVG rendering as default | |||
| Resolved | Physikerwelt | T413973 Rollout MathML+MathJax to group0, and wikis that use Parsoid and have no known <math> usage |
Event Timeline
We already enabled native MathML rendering on group0 https://phabricator.wikimedia.org/T373703. I suggest changing that as well. Then we can subtract wikis in the intersection from it.
@Krinkle when reading the documentation about dblists it was said that creating additional dblists is a significant performance overhead. Do you think we should create a dblist for that, or maybe reconsider the decision use the intersection with group0 for testing and just enable it for all parsoidrendered once we are confidence enough?
Change #1224074 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):
[operations/mediawiki-config@master] Switch math rendering for group0 from native to mathjax
Change #1224074 merged by jenkins-bot:
[operations/mediawiki-config@master] Switch math rendering for group0 from native to mathjax
Mentioned in SAL (#wikimedia-operations) [2026-07-15T11:29:12Z] <krinkle@deploy2003> Started scap sync-world: Backport for [[gerrit:1224074|Switch math rendering for group0 from native to mathjax (T413973)]]
Mentioned in SAL (#wikimedia-operations) [2026-07-15T11:31:06Z] <krinkle@deploy2003> physikerwelt, krinkle: Backport for [[gerrit:1224074|Switch math rendering for group0 from native to mathjax (T413973)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.
Mentioned in SAL (#wikimedia-operations) [2026-07-15T11:40:51Z] <krinkle@deploy2003> Finished scap sync-world: Backport for [[gerrit:1224074|Switch math rendering for group0 from native to mathjax (T413973)]] (duration: 11m 38s)
krinkle at KrinkleMac in ~/Development/wikimedia/operations-mediawiki-config (master%) $ ./multiversion/bin/expanddblist 'no-math-use' | wc -l 128 $ ./multiversion/bin/expanddblist 'no-math-use - group0' | wc -l 116 $ ./multiversion/bin/expanddblist 'no-math-use - group0 - closed' | wc -l 116 $ ./multiversion/bin/expanddblist 'no-math-use & private' | wc -l 0 $ ./multiversion/bin/expanddblist 'no-math-use & fishbowl' | wc -l 2 $ ./multiversion/bin/expanddblist 'no-math-use & fishbowl' aewikimedia idwikimedia $ ./multiversion/bin/expanddblist 'no-math-use & group1' | wc -l 66 $ ./multiversion/bin/expanddblist 'no-math-use & group2' | wc -l 48 $ ./multiversion/bin/expanddblist 'no-math-use & small' | wc -l 79 $ ./multiversion/bin/expanddblist 'no-math-use & medium' | wc -l 45 $ ./multiversion/bin/expanddblist 'no-math-use & large' | wc -l 2 $ ./multiversion/bin/expanddblist 'no-math-use & large' mgwiktionary specieswiki
Change #1311041 had a related patch set uploaded (by Krinkle; author: Krinkle):
[operations/mediawiki-config@master] Enable MathML+MathJax on wikis with no known math use as of June 2026
Spot check:
- ar.wikiquote.org No results.
- mg.wiktionary.org: 341 results
- Example: https://mg.wiktionary.org/wiki/kapu (added in July 2025)
- species.wikimedia.org: No results.
I'll cancel the "deploy to wikis that don't use math formula" idea from this task, because that was from the January verison of the plan, which has been superseded by the simpler June 2026 plan:
Can you link me to where you read that? I probably wrote that advice myself, but it predates https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/816029 (T169821, T308932) which made this a non-issue by serving dblists through a precomputed index served from RAM via php-opcache.
Sorry, I didn't document that and can't find it now. I vaguely remember reading it when I wanted to create an explicit list for math. So you can probably ignore it.