I doubt if anyone is using this feature intentionally, but many of us have benefited from it unintentionally. When an image caption is generated by a template, particularly a large & complex template, it often ends up with a lot of unexpected whitespace inside. I'm not saying this is good, or that those templates couldn't be better-written... however, open wikis being what they are, IMO the current approach makes sense.
<br><br>-- Sam / Visviva<br><br><div class="gmail_quote">On Dec 4, 2007 8:49 AM, Jared Williams <<a href="mailto:jared.williams1@ntlworld.com">jared.williams1@ntlworld.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">> -----Original Message-----<br>> From: <a href="mailto:wikitext-l-bounces@lists.wikimedia.org">wikitext-l-bounces@lists.wikimedia.org</a><br>> [mailto:<a href="mailto:wikitext-l-bounces@lists.wikimedia.org">
wikitext-l-bounces@lists.wikimedia.org</a>] On Behalf Of<br>> Steve Bennett<br>> Sent: 03 December 2007 23:09<br>> To: Wikitext-l<br>> Subject: [Wikitext-l] Newlines in link captions<br>><br>> I'm surprised to discover that this works:
<br>><br>> ----<br>> [[Foo|<br>><br>> blah<br>><br>> blah]]<br>> ----<br>><br>> And so does this:<br>><br>> ----<br>> [[Image:foo.jpg|<br>><br>> blah<br>><br>> |<br>><br>
> thumb<br>><br>> ]]<br>> ----<br>><br>> And even:<br>> ----<br>> [[image:foo.jpg|<br>><br>> some text over here|thumb<br>> ]]<br>> ----<br>><br>> And even more annoyingly:
<br>> ----<br>> [[Link|<br>><br>> ***This is not a list<br>><br>> ]]<br>> ----<br>><br>> In all these cases all the newlines in link or image captions are<br>> collapsed down to a single whitespace.
<br>><br>> So, the usual questions arise:<br>> 1. Does anyone know about, let alone use, this feature?<br>> 2. Is it useful?<br>> 3. Would anyone mind if it was gone?<br>><br>> My concerns are:<br>> 1. Lines that look like lists or space-indented text may not be (which
<br>> reduces the number of ways you can parse the text)<br>> 2. The behaviour of newlines is different from normal text (normally 2<br>> newlines in a row would give you a paragraph break)<br>> 3. The behaviour of newlines is different before and after
<br>> the first pipe.<br>><br><br></div></div>That causes schema violations for the current parser, if don't have tidy<br>repairing.<br><br>[[Link|<br>==h2==<br>----hr<br>]]<br><font color="#888888"><br>Jared<br>
</font><div><div></div><div class="Wj3C7c"><br><br><br>_______________________________________________<br>Wikitext-l mailing list<br><a href="mailto:Wikitext-l@lists.wikimedia.org">Wikitext-l@lists.wikimedia.org</a><br><a href="http://lists.wikimedia.org/mailman/listinfo/wikitext-l" target="_blank">
http://lists.wikimedia.org/mailman/listinfo/wikitext-l</a><br></div></div></blockquote></div><br>