Last modified: 2010-05-15 15:54:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13477 - Conditional statements distort infobox
Conditional statements distort infobox
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://starshiptracker.com/guide/inde...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-22 03:26 UTC by newdanbutler
Modified: 2010-05-15 15:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description newdanbutler 2008-03-22 03:26:42 UTC
Recently installed Mediawiki 1.12.0rc1 on top of 1.11.2 (both exhibited the following problem), and then copied relevent template (Infobox ship) over from a private wiki (running MW 1.11.0) where the templates displayed correctly. The provided URL shows the error in the display of the template.

I've narrowed it down to the conditional statements, in that the standard statements within the infobox template display correctly, when no data is inserted into the conditional fields.

The Monobook.css and Common.css files were copied and and pasted from the original to the new wiki, so am at a loss as to why the infobox won't display properly. ParserFunctions were added. Only differences are versions of MediaWiki being utilized.

Any assistance provided would be appreciated, as my only other option is to delete db and reinstall with 1.11.0, to match original wiki.

Thanks.
Comment 1 Lejonel 2008-03-23 08:33:37 UTC
The problem is the line breaks before the noinclude section in your Template:!. Try putting the <noinclude> directly after the | on the first line. That should fix your template.
Comment 2 newdanbutler 2008-03-28 18:16:59 UTC
Lejonel,

Thank you so much! That dd fix it. I was asking at mwusers.com, MediaWiki, Wikipedia....while all had ideas, no one was sure. You nailed it. Thanks (very much) for the time you spent investigating it.

- Dan Butler

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links