I am using the variable extension to us define some variables which I use later in my wiki. But adding these variables adds extra undesirable space at the top of the wiki. Am I missing something?
Topic on Extension talk:Variables
Appearance
Did you use newlines? Avoid them, wrap a div around your vardefines with display:none, or comment out each line break (I just tried to demonstrate this with pre-tags, but MediaWiki messed up my code).
Cool! Thanks Cavila. display:none did the trick. :)
Just to add one more option, my preferred method is to place the closing braces for each vardefine on the same line as the opening braces for the next vardefine, e.g.
{{ #vardefine: var1 | foo }}{{ #vardefine: var2 | bar }}{{ #vardefine: ...