Template talk:langrev

RFDO discussion: December 2013–September 2017
A leftover from the pre-Lua days. I'm surprised that this is even still around. —CodeCat 19:33, 15 March 2016 (UTC)


 * This has unfortunately, predictably fallen out of date, but it is still a crucial component of Conrad's very widely used translation-adding aid. (As a test, I just tried to add a translation into "Foraba" (listed as an alt name of ppo and nothing else in the module) and Conrad's script couldn't handle it, but when I created Template:langrev/Foraba, it could.) Either that tool should be switched to use Module:languages (pulling canonical names and unique non-canonical names), or we should have a bot periodically update Template:langrev with fresh data from the modules. Keep unless the former happens. - -sche (discuss) 20:01, 15 March 2016 (UTC)
 * Delete. --Dixtosa (talk) 15:46, 20 March 2016 (UTC)
 * Obviously delete as soon as it's possible to do so (but not while still being used, also obviously). Renard Migrant (talk) 15:50, 20 March 2016 (UTC)


 * Deprecate but keep. Point: make page histories legible. --Dan Polansky (talk) 09:59, 30 March 2016 (UTC)
 * The only way to really keep page histories 100% legible is to not change anything, ever. Renard Migrant (talk) 22:11, 30 March 2016 (UTC)
 * These were mostly subst: templates and not use other than with subst: in the main namespace. Renard Migrant (talk) 22:12, 30 March 2016 (UTC)
 * The only way of keeping my bathroom 100% clean is not use it => I'll stop cleaning my bathroom right now. Is that what you mean? --Dan Polansky (talk) 05:51, 2 April 2016 (UTC)
 * I think that's what you mean, actually. Renard Migrant (talk) 15:49, 2 April 2016 (UTC)
 * Are there old versions of pages that call this template? I thought it was used subst'ed, or by other templates (the workings of which have been changed, so that their functioning in old versions of pages is no longer affected by this template) and scripts like the one that assists in adding translations. - -sche (discuss) 06:44, 2 April 2016 (UTC)

This has been long enough now, calling this RFD failed. —CodeCat 23:13, 23 April 2017 (UTC)
 * Deleting everything in Category:langrev subtemplates will have to be done by bot (via an admin account). maybe? —Μετάknowledge discuss/deeds 02:59, 24 April 2017 (UTC)
 * "Note that the translations adder depends on this, and the module wouldn't work as a replacement."--Giorgi Eufshi (talk) 07:59, 24 April 2017 (UTC)
 * , but unless I'm missing something (which I may well be), that's no longer the case. —Μετάknowledge discuss/deeds 16:40, 24 April 2017 (UTC)
 * You can find Template:langrev string in the TranslationAdder--Dixtosa (talk) 16:51, 24 April 2017 (UTC)
 * Well, someone fix it then. —CodeCat 17:36, 24 April 2017 (UTC)
 * On the second thought I do not think the function that uses langrev templates (langAutoFill) is actually used. Has autocomplete ever been used somehow?--Giorgi Eufshi (talk) 06:57, 21 July 2017 (UTC)
 * My understanding is that it's used by the translation-adder gadget: if you start typing in a canonical or alternative name of a lect, it autocompletes (type "Wemba We" and it autocompletes to "Wemba Wemba"), and then looks up the langrev subtemplate to see what code the name is associated with, and then plugs in that code. (Has that changed, i.e. is something else generating that effect now?) This is useful, because it means people can add translations based on names, without memorizing ISO/Wiktionary codes, although the templates are not as up-to-date as the language modules. They could, of course, be regenerated from the modules! But if the translation-adder could just look up canonical and unique alternative names in the module, that would be most useful. - -sche (discuss) 08:43, 21 July 2017 (UTC)
 * Can't we just convert langrev to use the modules to provide the same functionality? That way we can delete all the subtemplates and still maintain backwards compatibility in all of our legacy stuff. It's not used directly in entries, so we don't need to worry about editors being confused. Chuck Entz (talk) 14:40, 21 July 2017 (UTC)
 * That template has already been deleted, it wasn't used anywhere. The issue at hand is that some JavaScript directly retrieves the subtemplates. —CodeCat 15:24, 21 July 2017 (UTC)
 * In any case, language objects have a  method which can be used to convert the data to a JSON representation. This should be useful for JavaScripts. —CodeCat 15:31, 21 July 2017 (UTC)


 * Other js pages that depend on langrev subtemplates. Dixtosa (talk) 18:56, 23 July 2017 (UTC)
 * No more MediaWiki-namespaced javascript code depend on langrev subtemplates.--Dixtosa (talk) 07:45, 27 August 2017 (UTC)
 * This is clearly RFD failed and now deprecated, but somebody still needs to the bot run to delete them all. —Μετάknowledge discuss/deeds 08:03, 10 September 2017 (UTC)
 * I will start on this sometime this week. DTLHS (talk) 04:52, 11 September 2017 (UTC)


 * Deleted. DTLHS (talk) 02:21, 28 September 2017 (UTC)