Hi,
I have created a local MediaWiki installation (from SVN), and retrieved the Wikipedia extensions (from CVS) as I could gleam from the Special:Version page on Wikipedia, and imported an XML dump using following command:
bzip2 -d enwiki-latest-pages-articles.xml.bz2 cat enwiki-latest-pages-articles.xml | php5 maintenance/importDump.php
After importing, most of the pages render correctly, however some templates which use ParserFunctions, are rendering parts of the templates as escaped HTML.
The page George_H._W._Bush (in my copy of the data), is using a Template:Infobox_President, with code as follows:
Code at: http://pastebin.com/722852
The rendering has turned <tr> and <td> to <tr> and <td> in certain cases:
Code at http://pastebin.com/722855 (please note the < and > which is highlighted in pink)
Does anybody know what could possibly be causing this problem?
Thanks Richard Wooding
Are you using the last version? Wikimedia doesn't use CVS any more, but SVN at http://svn.wikimedia.org/ extensions should be at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/
This may also be due to the mixing of wiki-tables and html-tables syntax in the template. Brion recently changed the table behaviour, but as it shows well on wikipedia (running from SVN), it may be not related....
"Richard Wooding" wrote:
Hi,
I have created a local MediaWiki installation (from SVN), and retrieved the Wikipedia extensions (from CVS) as I could gleam from the Special:Version page on Wikipedia, and imported an XML dump using following command:
bzip2 -d enwiki-latest-pages-articles.xml.bz2 cat enwiki-latest-pages-articles.xml | php5 maintenance/importDump.php
After importing, most of the pages render correctly, however some templates which use ParserFunctions, are rendering parts of the templates as escaped HTML.
The page George_H._W._Bush (in my copy of the data), is using a Template:Infobox_President, with code as follows:
Code at: http://pastebin.com/722852
The rendering has turned <tr> and <td> to <tr> and <td> in certain cases:
Code at http://pastebin.com/722855 (please note the < and > which is highlighted in pink)
Does anybody know what could possibly be causing this problem?
Thanks Richard Wooding
Ok will get the relevant extension from SVN and get back to you, thanks for the help.
-----Original Message----- From: wikitech-l-bounces@wikimedia.org [mailto:wikitech-l-bounces@wikimedia.org] On Behalf Of Platonides Sent: Wednesday, June 21, 2006 11:55 AM To: wikitech-l@wikimedia.org Subject: Re: [Wikitech-l] After importing wikipedia dump,some templates use parserfunctions behave strangely by escaping HTML
Are you using the last version? Wikimedia doesn't use CVS any more, but SVN at http://svn.wikimedia.org/ extensions should be at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/
This may also be due to the mixing of wiki-tables and html-tables syntax in the template. Brion recently changed the table behaviour, but as it shows well on wikipedia (running from SVN), it may be not related....
"Richard Wooding" wrote:
Hi,
I have created a local MediaWiki installation (from SVN), and retrieved the Wikipedia extensions (from CVS) as I could gleam from the Special:Version page on Wikipedia, and imported an XML dump using following command:
bzip2 -d enwiki-latest-pages-articles.xml.bz2 cat enwiki-latest-pages-articles.xml | php5 maintenance/importDump.php
After importing, most of the pages render correctly, however some templates which use ParserFunctions, are rendering parts of the templates as escaped HTML.
The page George_H._W._Bush (in my copy of the data), is using a Template:Infobox_President, with code as follows:
Code at: http://pastebin.com/722852
The rendering has turned <tr> and <td> to <tr> and <td> in certain cases:
Code at http://pastebin.com/722855 (please note the < and > which is highlighted in pink)
Does anybody know what could possibly be causing this problem?
Thanks Richard Wooding
_______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Platonides wrote:
Are you using the last version? Wikimedia doesn't use CVS any more, but SVN at http://svn.wikimedia.org/ extensions should be at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/
This may also be due to the mixing of wiki-tables and html-tables syntax in the template. Brion recently changed the table behaviour, but as it shows well on wikipedia (running from SVN), it may be not related....
Rather, I have *not* changed the behavior.
Enable tidy.
-- brion vibber (brion @ pobox.com)
Hi,
Thanks for the assistance.
How do I do that, if found tidy in extensions/Tidy.php, I have installed Tidy (and libtidy) in Suse 10.1
How do I enable this?
-----Original Message----- From: wikitech-l-bounces@wikimedia.org [mailto:wikitech-l-bounces@wikimedia.org] On Behalf Of Brion Vibber Sent: Wednesday, June 21, 2006 6:37 PM To: Wikimedia developers Subject: Re: [Wikitech-l] After importing wikipedia dump, some templates use parserfunctions behave strangely by escaping HTML
Platonides wrote:
Are you using the last version? Wikimedia doesn't use CVS any more, but SVN at http://svn.wikimedia.org/ extensions should be at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/
This may also be due to the mixing of wiki-tables and html-tables syntax
in
the template. Brion recently changed the table behaviour, but as it shows well on wikipedia (running from SVN), it may be not related....
Rather, I have *not* changed the behavior.
Enable tidy.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org