Template talk:Refend
Template:Refend is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
Protection Request
editI 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)
- I see it has been. Thank you. --Anthony5429 (talk) 16:03, 9 January 2008 (UTC)
Norwegian interwiki
editCould someone change the Norwegian interwiki from Mal:Refbegin to Mal:Refend? KristofferAG (talk) 18:08, 8 December 2009 (UTC)
- 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)
Edit request from 85.178.72.22, 23 August 2011
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Remove the </dl>
tag, it is not a valid tag.
85.178.82.244 (talk) 07:15, 23 August 2011 (UTC)
- 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)
DL tag in refend
editI have a wiki on my corporate network. When I use this template it produce the html code for </dl>: <dl>.
Basically, how does {{refend}}
know that {{refbegin}}
had the indent parameter?
DarkFrog (talk) 14:22, 28 October 2011 (UTC)
- 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)- But my problem is that
</dl>
is displayed in the output. When I check the source I see the escape code: <dl>. What could be causing that? And I see it another templates. -DarkFrog (talk) 22:13, 17 November 2011 (UTC)- 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)- 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)
- That means
- But my problem is that