WMF uses a specific branch which is based on, but not exactly the same as the official 1.18 release. It is one of these two branches: http://svn.wikimedia.org/svnroot/mediawiki/branches/wmf/1.18wmf1/ http://svn.wikimedia.org/svnroot/mediawiki/branches/wmf-deployment/ Although I do not know offhand which one.
-- Dan Collins On Sat, Dec 3, 2011 at 5:12 PM, gnosygnu <[email protected]> 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? > > Thanks. > > SVN commands > official release (r104604): svn checkout > http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3@104604 wiki > bleeding edge release: svn checkout > http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wiki > latest trunk release?: svn checkout > http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3@105083 wiki > > Urls for testing behavior. I've been using the "Show preview" button > (it invokes the same code in Parser.php/Sanitizer.php). Modify the > localhost url as per your environment. > http://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&action=submit > http://localhost/wiki/index.php?title=Main_Page&action=submit > > Other divergent behavior > == <span/> converted to <span></span> == > Text : <span id="a" /> > MediaWiki: <span id="a" /> > Wikipedia: <span id="a"></span> > Ref : http://en.wikipedia.org/wiki/Altaic_languages > Excerpt: > > <!-- NOTE: > Please leave the following id's which were the previous titles of this > section. Many pages link to these section titles. > --><span id="Controversy" /> <span id="The controversy over Altaic" /> > > > == Empty tags pruned === > Text : a '' '' b > MediaWiki: a <i> </i> b > Wikipedia: a b > Ref : http://en.wikipedia.org/wiki/Arkansas > Excerpt : > > '''53.21%''' '' ''505,823 > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
