Template:Blockquote paragraphs: Difference between revisions
(: is wikimarkup for indent and has nothing to do with citations) |
(I restore. Gadget, you are wrong. The colon is the symbol of citation, not indentation. This is a matter of semantics and accessibility. See the last section of my talk page.) |
||
Line 37: | Line 37: | ||
Line 4}} |
Line 4}} |
||
Yet this markup fails |
Yet this markup fails with wiki ":" citation: |
||
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 |
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 |
||
Line 73: | Line 73: | ||
<p>Line 4</p>}} |
<p>Line 4</p>}} |
||
but again can't be indented in |
but again can't be indented in citation: |
||
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|<p>Line 1</p> |
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|<p>Line 1</p> |
||
Line 90: | Line 90: | ||
{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}} |
{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}} |
||
And it {{em|does}} work with |
And it {{em|does}} work with wikimarkup ":" citation, unlike the failed test cases hereinbefore: |
||
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}} |
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}} |
Revision as of 09:56, 11 April 2013
Due to the utterly intractable MediaWiki bug reported at Template:Bugzilla, and still unfixed as of February 2012[update], block quoting on Wikipedia, with or without a template, cannot handle freeform linebreaking for paragraphs and poems and the like, unless formatted one very specific (and annoying) way. It's not a problem of blockquote templates, but all uses of <blockquote>
.
The problem in action: test cases that seem like they should work but fail
|
---|
The intuitive choice:
results in the mangled: Blank lines seem to work at first:
though with quite tall spacing between the content blocks (lines, in our test cases): Yet this markup fails with wiki ":" citation: Just trying to use
results in odd spacing, with the middle blocks too close together: Meanwhile this version seems OK at first:
but again can't be indented in citation: |
As of February 2012[update], the only solution for the problem is to use unbroken markup with <p>...</p>
or <br />
elements (or others, like nested blockquotes and lists):
{{bq|Line 1 <br/>Line 2 <br/>Line 3 <br/>Line 4.}}
which, while hard to read, especially for long content, results in the expected:
And it does work with wikimarkup ":" citation, unlike the failed test cases hereinbefore:
Happily, there is a HTML comment workaround for readability that lets you do whatever you want:
{{bq|1=<!--
-->Line 1 <br/><!--
-->Line 2 <br/><!--
-->Line 3 <br/><!--
-->Line 4.}}
or even:
{{bq|1=<!--
-->Line 1 <br/><!--
-->Line 2 <br/><!--
-->Line 3 <br/><!--
-->Line 4.}}
which results in the expected:
They are citable: