https://bugzilla.wikimedia.org/show_bug.cgi?id=66027
Bug ID: 66027
Summary: Unwanted line breaks in if statements
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ParserFunctions
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Hi.
I have the following in a table:
{{#if:{{{Website|}}}|{{#!:
|-
! Website Address
| [[Webpage::{{{Website|}}}]]}}}}
{{#if:{{{Facebook ID|}}}|{{#!:
|-
! Facebook
| [[Facebook ID::{{{Facebook ID|}}}]]}}}}
{{#if:{{{Twitter ID|}}}|{{#!:
|-
! Twitter hashtag
| [[Twitter ID::{{{Twitter ID|}}}]]}}}}
At the end of each #if block I get a
<p><br></p>
in the HTML leading to ugly line breaks if one or more if the fields is hidden.
Same issue with any of the parser functions #ifeq, #switch etc
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l