Hi all, I've been trying to get the Infoboxes to work on my Wiki ever since I upgraded to 1.10. I've managed to get the majority of the templates in place and everything, and I do understand that ParserFunctions is required; I have it and it seems to be working fine. But for some reason, the #if: call isn't working, and any HTML that follows after it is showing up as if it were normally rendered, like <table> and so on. Here's an example page: http://www.seventh-star.net/wikific/index.php?title=Yu-Gi-Oh Is there any way to fix this? I've already checked out the ParserFunctions and Infobox pages on Wikimedia, and the Discussion pages, but there doesn't seem to be a solution to #if: acting finicky. Help! -Azurite
Azurite wrote:
pages, but there doesn't seem to be a solution to #if: acting finicky.
Do you have Tidy installed and functioning? Just a guess, but that is often a problem with Infoboxes. Either that or you are missing a lesser template like {{!}} or some CSS.
Mike
I did see Tidy mentioned on a lot of the pages I found, but I couldn't find a MediaWiki extension page or anything. Perhaps you could point me in the right direction so I can figure out how to install it and hopefully get my Infoboxes displaying properly? Thanks! -Azurite
pages, but there doesn't seem to be a solution to #if: acting finicky.
Do you have Tidy installed and functioning? Just a guess, but that is often a problem with Infoboxes. Either that or you are missing a lesser template like {{!}} or some CSS.
Mike
Azurite wrote:
I did see Tidy mentioned on a lot of the pages I found, but I couldn't find a MediaWiki extension page or anything.
Tidy is not an extension to Mediawiki, it's a separate program.
There is a version in PHP that is convenient to use. Some info in this thread: http://www.mwusers.com/forums/showthread.php?t=5057&highlight=tidy
Read all the posts - I mention one of the settings I forgot in a later post.
There is a bug in Parser.php if you are using PHP5 with PHP's Tidy. I submitted a patch to Mediazilla but no one's done anything with it yet. If you have a problem with it, the code to fix is posted here: http://www.mwusers.com/forums/showthread.php?t=4594&page=3
Well, as with the person who posted to the MediaWiki forums, my server won't enable PHP Tidy on a shared server. So I'm relegated to using the external version-- but how do I start out? Where do I begin looking? I've found my way to the Sourceforge page, and I know my server is a Linux server, but beyond that, I'm not sure which package to download or how to implement it. I figure that as being the first step before I can modify anything relating to MediaWiki so I can get it to work... and then hopefully get my Infoboxes working from there. -Azurite
Azurite wrote:
I did see Tidy mentioned on a lot of the pages I found, but I couldn't find a MediaWiki extension page or anything.
Tidy is not an extension to Mediawiki, it's a separate program.
There is a version in PHP that is convenient to use. Some info in this thread: http://www.mwusers.com/forums/showthread.php?t=5057&highlight=tidy
Read all the posts - I mention one of the settings I forgot in a later post.
There is a bug in Parser.php if you are using PHP5 with PHP's Tidy. I submitted a patch to Mediazilla but no one's done anything with it yet. If you have a problem with it, the code to fix is posted here: http://www.mwusers.com/forums/showthread.php?t=4594&page=3
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Azurite wrote:
I've found my way to the Sourceforge page, and I know my server is a Linux server, but beyond that, I'm not sure which package to download or how to implement it.
I can't help you a lot, since I've never installed Tidy - I've always used the PHP version.
You'll have to download the latest source and compile it for your Linux server. I don't know how you'll do that if the server's Linux is different than your computer's OS. You'll have to find out from your server host. Once compiled, the executable file should be placed in a directory where you can execute it, then update the LocalSettings.php file to specify the location of Tidy and the other parameters needed.
Browse Mediawiki.org's manual pages (including the discussion pages) to see what you can find.
Mike
mediawiki-l@lists.wikimedia.org