Jump to content

Template talk:Refend

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Sourcesend)

Protection Request

[edit]

I feel this template should be protected from edits by non-registered or newly registered users. Does anyone else agree? --Anthony5429 00:32, 13 March 2007 (UTC)[reply]

I see it has been. Thank you. --Anthony5429 (talk) 16:03, 9 January 2008 (UTC)[reply]

Norwegian interwiki

[edit]

Could someone change the Norwegian interwiki from Mal:Refbegin to Mal:Refend? KristofferAG (talk) 18:08, 8 December 2009 (UTC)[reply]

Not easily since both refbegin and refend share a documentation page here, Template:refbegin/doc, which contains all interwikis. If it's particularly important then there's the somewhat established option to change the documentation page of this template to a soft redirect, which can then have specialized interwikis. Amalthea 21:32, 8 December 2009 (UTC)[reply]

Edit request from 85.178.72.22, 23 August 2011

[edit]

Remove the </dl> tag, it is not a valid tag.

85.178.82.244 (talk) 07:15, 23 August 2011 (UTC)[reply]

This is not a good idea: in the first place {{refend}} pairs up with a previous {{refbegin}}, and {{refbegin}} opens a <dl style="text-indent: -3.5em;"> and all HTML tags should be properly closed (unless they are self-closing such as <br>); secondly, it is a valid tag (see here) and has been since the start (HTML 1.0). --Redrose64 (talk) 12:26, 23 August 2011 (UTC)[reply]

DL tag in refend

[edit]

I have a wiki on my corporate network. When I use this template it produce the html code for </dl>: &lt;dl&gt;. Basically, how does {{refend}} know that {{refbegin}} had the indent parameter? DarkFrog (talk) 14:22, 28 October 2011 (UTC)[reply]

It doesn't. {{refbegin}} generates either one or two opening tags: there is always a <div>, and there might also be a <dl> (this occurs when |indent= is given a non-blank value). {{refend}} always generates two HTML closing tags: </dl></div>. The presence of the </dl> when there may not have been a <dl> is essentially harmless - it takes advantage of a quirk of HTML whereby a closing tag for which there is no opening tag is effectively ignored. --Redrose64 (talk) 16:19, 28 October 2011 (UTC)[reply]
But my problem is that </dl> is displayed in the output. When I check the source I see the escape code: &lt;dl&gt;. What could be causing that? And I see it another templates. -DarkFrog (talk) 22:13, 17 November 2011 (UTC)[reply]
That means </dl> is not on the list of permitted HTML tags in your configuration. All non-permitted tags are converted to text. Edokter (talk) — 22:34, 17 November 2011 (UTC)[reply]
I went ahead and set $wgRawHtml = true; But to no avail. Can I post a screen shot someplace to show what is happening? --DarkFrog (talk) 15:32, 18 November 2011 (UTC)[reply]