As reported on wikimedia-tech yesterday, I got the following error on ptwikibooks
"Request: POST http://pt.wikibooks.org/w/index.php?title=Teoria_de_n%C3%BAmeros/Equa%C3%A7%C3%B5es_diofantinas&action=submit, from 208.80.154.133 via cp1020.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.134 (10.64.0.134) Error: ERR_READ_TIMEOUT, errno [No Error] at Mon, 27 Feb 2012 20:46:24 GMT"
Request: POST http://pt.wikibooks.org/w/index.php?title=Teoria_de_n%C3%BAmeros/Congru%C3%AAncias&action=submit, from 208.80.154.133 via cp1018.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.132 (10.64.0.132) Error: ERR_READ_TIMEOUT, errno [No Error] at Mon, 27 Feb 2012 20:51:34 GMT
Request: POST http://pt.wikibooks.org/w/index.php?title=C%C3%A1lculo_(Volume_1)/Limites_e_Continuidade&action=submit, from 143.107.45.213 via cp1016.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.138 (10.64.0.138) Error: ERR_READ_TIMEOUT, errno [No Error] at Mon, 27 Feb 2012 21:02:16 GMT
after I saved edits such as these:
https://pt.wikibooks.org/?diff=prev&oldid=233853
https://pt.wikibooks.org/?diff=prev&oldid=233854
https://pt.wikibooks.org/?diff=prev&oldid=233855
https://pt.wikibooks.org/?diff=prev&oldid=233856
https://pt.wikibooks.org/?diff=prev&oldid=233859
All I was doing were simple replacements on <math> formulae using regex:
*Find: /\\,\\!\s*<\/math>/g
*Replace: </math>