Hi, there...
If you look at http://en.wikipedia.org/w/index.php?title=Algeria&action=edit you'll see a surplus </font> tag, which doesn't have a start tag (<font>). At wikipedia.org it's hided but at my site it showed and damage page design. Does anybody know how to solve this problem?
Thanks Sergey
On 29/05/05, Sergey Samoylov ssamoylov@gmail.com wrote:
If you look at http://en.wikipedia.org/w/index.php?title=Algeria&action=edit you'll see a surplus </font> tag, which doesn't have a start tag (<font>).
Since it's in the content of the wiki page, you can just go ahead and fix the markup - in fact, I already have. It looks like at some point somebody changed a couple of "<font ...>" tags into "<big>" and "<small>", but didn't fix the closing "</font>"s to match.
At wikipedia.org it's hided but at my site it showed and damage page design.
I think this is because Wikipedia is set up to run a utility/library called "htmltidy" over the output, which was able to successfully work out what was intended here and put the correct closing tags in the rendered copy.
Does anybody know how to solve this problem?
1) edit the page so that the markup's right and/or 2) enable htmltidy on your own MediaWiki install (get the necessary libraries, and copy and amend the appropriate section of includes/DefaultSettings.php to your LocalSettings.php; search for "tidy" in that file and read the comments)
HTH
wikitech-l@lists.wikimedia.org