Last modified: 2014-11-18 16:57:49 UTC
The page of the Ackermann function https://en.wikipedia.org/wiki/Ackermann_function#Expansion in LaTeXML rendering mode that is enabled for example here http://ntcir11-wmc.nii.ac.jp/index.php/Ackermann%20function rerenderes the long expansion on every page visit.
It seems to be a problem with the database layout. The mathml column is too short... Select count(l), l from (SELECT length(math_mathml) l FROM mediawiki.mathlatexml order by length(math_mathml) desc) t group by l order by l desc; Indicates that 35/312240 mathml expression are longer than 65535.
The Latexml table can be updated via ALTER TABLE `mathlatexml` CHANGE COLUMN `math_mathml` `math_mathml` MEDIUMBLOB NULL DEFAULT NULL ;
After the update the affected pages need to be rerendered. The affected pages can be obtained via select distinct mathindex_page_id as oldid from mathlatexml join mathindex on mathindex_inputhash = math_inputhash where length(math_mathml)=65535; This list can be used for manual purging. Note that the the mathindex_page_id refers to the oldid.
Change 171627 had a related patch set uploaded by Physikerwelt: Increase size of the math_mathml in the mathlatexml table https://gerrit.wikimedia.org/r/171627
After having reloaded all 35 pages via curl curl http://ntcir11-wmc.nii.ac.jp/index.php?oldid=15477 the problem seems to be fixed. The longest mathml expression is 129726 chars now.
Change 171627 merged by jenkins-bot: Increase size of the math_mathml in the mathlatexml table https://gerrit.wikimedia.org/r/171627