Thanks Petr. I installed the appropriate versions of the Parser hook extensions that look relevant: CategoryTree (Version r48218) CharInsert (Version r36357) Cite (Version r47190) InputBox (Version r42791) ParserFunctions (Version 1.1.1)
I'm using MediaWiki 1.15.1 and I imported the dump using xml2sql. Most enwiki pages render correctly, but a bunch of pages (e.g. Jennifer_Garner) show spurious </span> tags (inspecting the page source show a bunch of </span>).
Template:Marriage looks to be one of the offending templates (though the wikimarkup of that page matches the version on en.wikipedia.org).
I guess the problem could be:
1) bug caused by xml2sql 2) I'm missing an un-obvious extension 3) bug in one of the many templates that's included in Template:Marriage that has since been fixed on en.wikipedia.org
Has anyone seen this problem before?
Thanks, Eric
On Mon, Feb 8, 2010 at 1:30 AM, Petr Kadlec petr.kadlec@gmail.com wrote:
On 8 February 2010 06:44, Eric Sun esun@cs.stanford.edu wrote:
I stripped out the <redirect />'s and imported enwiki using xml2sql, but none of the templates rendered correctly--for example, navigating to /The_Matrix results in a page with lots of mediawiki source like
{{#if: |This {{#ifeq:||article|page}} is about . }}For {{#if:the series|the series|other uses}}, see {{#if:The Matrix (franchise)|The Matrix (franchise){{#ifeq:the setting|and| and {{#if:Matrix (fictional universe)|Matrix (fictional
You do not have all required MediaWiki extensions installed. Wikipedia uses many extensions (see http://en.wikipedia.org/wiki/Special:Version), some of them are required for proper rendering, especially ParserFunctions (http://www.mediawiki.org/wiki/Extension:ParserFunctions), as is the problem here (another important extension, off the top of my head, is the Cite extension – http://www.mediawiki.org/wiki/Extension:Cite – which provides for <ref> and <references>).
-- [[cs:User:Mormegil | Petr Kadlec]]
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l