On Sat, Dec 3, 2011 at 17:12, gnosygnu gnosygnu@gmail.com wrote:
Hi all. My apologies if this is not the right group.
I'm trying to find the official MediaWiki version which Wikipedia uses.
According to http://en.wikipedia.org/wiki/Wikipedia:About, Wikipedia is running MediaWiki version 1.18wmf1 (r104604).
However, when I download r104604, I get a version that is close to Wikipedia, but not quite.
For example, when parsing the following text: a<sup>2</sub>b MediaWiki produces "a<sup>2</sub>b</sup>" Wikipedia produces "a<sup>2</sup>b</p>"
Wikipedia converts the </sub> tag to a </sup> tag. You can see this in http://en.wikipedia.org/wiki/Algebraic_geometry with the following excerpt: rectangular box ''a''<sup>2</sub>''b'' I've noticed other discrepancies as well (so far about a dozen). I list 2 more below. I can list more if anyone is interested, or think it's relevant.
I'm new to MediaWiki development, so I might be doing something stupid. However, I've gone through other versions (svn commands listed below), and I can't figure it out. I've spent well over an hour on it.
Can any one point me in the right direction?
My first guess is that it's related to the use of HTML Tidy. Seems to be enabled currently on the WMF cluster: see $wgUseTidy @ http://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php
-Jeremy