Template talk:DRN archive top

Latest comment: 2 years ago by C.Fred in topic Table code malfunctioning

Syntax error

edit

In closing this discussion, I found out that my rationale did not show up and I figured out it was including a url in square brackets ("[]") that caused this. I think there needs to be some tweaking of this template so we can use hyperlinks in our rationales and still have our rationales show.Curb Chain (talk) 08:32, 7 March 2012 (UTC)Reply

It has been fixed now, but documentation should be included so this doesn't happen again.Curb Chain (talk) 01:17, 8 March 2012 (UTC)Reply
It required 1=. Is there anyway so that this won't be needed? I'm thinking of using as little technical knowledge as possible so editors new and unversed in programming can comment with out having their rationales not show.Curb Chain (talk) 01:36, 8 March 2012 (UTC)Reply
I finally worked out what was causing this. It has been bugging me ever since the template was created, as my signature doesn't show up properly when I use it. It turns out that if your closing comments have an equals sign in them anywhere, then the mediawiki software takes everything to the left of the equals sign as the parameter name. That is, of course, unless you add "1=" at the start. This seems to apply whether the equals sign is inside square brackets, or even xml/html tags (but not if it's inside another template). There's no way to work around this without changing the mediawiki software, so until the new template programming language is rolled out I'll insert a bandaid fix by requiring a |reason= parameter for future closes, and keeping backwards compatibility. — Mr. Stradivarius 03:04, 8 March 2012 (UTC)Reply

Table code malfunctioning

edit

{{Archive bottom}} does not close the table, so there is a problem with this template currently, in that it opens a table that never gets closed. I've asked at Template talk:Archive bottom about the code issue. —C.Fred (talk) 23:22, 17 January 2022 (UTC)Reply