[[Template:t-SOP]]

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

It no longer adds {{t-SOP}} directly to entries, but substitutes it. As template_l_xform is only used by {{t-SOP}}, I think it can be safely changed in whatever way without casualties. So I proposed a change above which would make everything work with minimal effort. When the migration to {{t}} is done, we will get rid of both. When this happens is another matter, see this month's Grease pit.

I kind of understand the protection level in case of Module:scripts or Module:languages — the changes are expected to be quite rare (they are not now, but this is a temporary situation), and need to be discussed anyway — but for say, Module:links it is somewhat harmful because it encourages forking by people who do not have necessary privileges (I think User:ZxxZxxZ had to be recently elevated to administrator status just because of that). Functions become disorganised and spread between many different modules. It also prevents progress when no administrator has enough interest to discuss or implement a proposed change. The same can apply to templates — I wanted today to modify {{pl-conj-ap}}, but could not, because it was locked by a control freak administrator who is now inactive. Same with {{pl-decl-noun}}. How often do you (you people, not necessarily thou specifically) expect vandalism to happen? Are such drastic measures worth this harm?

Keφr12:16, 1 September 2013

{{t-SOP}} failed RFD and should really be deleted soon, so could your script avoid using it altogether?

CodeCat12:32, 1 September 2013

Sure why not, done. Still, you could make that change to Module:links, so that the remaining uses can be dealt with using a simple subst:. Why the rush, though?

Keφr12:40, 1 September 2013

Which change are you talking about? To template_l_xform? But that's also going to be deleted...

CodeCat12:52, 1 September 2013

Yes. But while we still have it, it can do its one last job.

Keφr13:00, 1 September 2013

Ok just to make things clear. Your script does not use {{t-SOP}}, so that can be deleted? But it does still rely on template_l_xform, so it can't be removed yet?

CodeCat13:30, 1 September 2013

It depends on neither (look up in the code, I replicated the linking code in JavaScript). But making this change can make migration away from {{t-SOP}} easier, by a simple fixed text substitution (s/{{t-SOP/{{subst:t-SOP/g and save)

Keφr13:40, 1 September 2013

Oh, I see. That isn't really needed though because I already have a bot script that replaces {{t-SOP}} with {{}}.

CodeCat14:41, 1 September 2013