A problem with [[Template:circumfix]]

Fragment of a discussion from User talk:Rua
Jump to navigation Jump to search

Currently, the template takes four main parameters: the circumfix itself, the first part, the middle word, and the second part. On top of that, it takes alt1, alt2 and alt3 parameters to override the display of each part. If I change the template so that it uses the first parameter to figure out what to link to, then the 2nd and 4th parameters only really change the display, and alt1 and alt3 parameters don't really have a distinct use anymore.

CodeCat03:11, 31 March 2014

Oh, I see. So, should we get rid of them? I suppose before we do, we'd need to fix any current uses of them. Is there a way to find out which entries, if any, use either or both of these alt1 and alt3 parameters?

 — I.S.M.E.T.A.03:16, 31 March 2014

What I'm more curious about is why there is that first parameter to begin with. It seems redundant to the 2nd and 4th, which could presumably be used to reconstruct the "whole" circumfix from its two parts.

But since this is a rather specific template that not many languages need, I can't really judge the merit of how it was made to work. Maybe you should ask at the GP, so that those who actually work with this template can explain.

CodeCat03:19, 31 March 2014

My guess is that the first parameter is necessary for autogenerating the category name, which mentions the circumfix. I'll get to posting in the Grease Pit now.

 — I.S.M.E.T.A.03:51, 31 March 2014
 

It seems that there is consensus to make this change. Do you agree?

 — I.S.M.E.T.A.14:01, 4 April 2014

Qui tacet consentire videtur. Go ahead and make the change.

- -sche (discuss)20:19, 8 April 2014

I've left some notes at the discussion linked to above. There are some entries that need attention before the change can be made.

CodeCat21:41, 8 April 2014