https://bugzilla.wikimedia.org/show_bug.cgi?id=26881

--- Comment #4 from Aleator <aleator_w...@yahoo.es> 2011-01-28 01:57:03 UTC ---
Mmm... It's not ProofreadPage_body.php, because html parses identical in both
browsers. I've found the responsible code at
http://ca.wikisource.org/w/extensions/ProofreadPage/proofread.js?26

The behaviour of the regexp is different in the 2 browsers:
- With MF, regexp matches so "m" exists and splits the text correctly in the 3
desired parts.
- With my IE 8.0, "m" don't exist (no matching, why? [comment on code shows the
author realized not all browsers worked]). So it tries to split text in 2-3
times. First into m2[1] (header, splits but I see 3 extra line breaks, those
between the end of "<div class="pagetext"> and the beginnig of the next
"</noinclude>") and m2[2] (body+footer). And then m[2] into m3[1] (body,
truncated) and m3[2] (footer, part of what should be the body, being lost the
end part). It makes sense studying the code.

I'm trying to get the correct combination of the regexp (e.g.
http://ca.wikisource.org/w/index.php?title=Usuari:Aleator/vector.js&oldid=29992,
testing with the sandbox
http://ca.wikisource.org/w/index.php?title=Viquitexts:P%C3%A0gina_de_proves&oldid=29824),
but I still don't have the solution. I'll keep trying.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to