Template talk:TranslateThis

From OpenStreetMap Wiki
Jump to navigation Jump to search

Missing language names, redlinked categories

@Wynndale: This template has recently started putting 205 categories and 2,915 other pages in Category:Pages unavailable in. It isn't {{Languages}}, because unavailablePageCategoryNames in Module:Languages/config lists the categories the module can add the page to and none of them omit the language name. Special:Diff/1840209/1909148 looks like it could've caused this issue. The tooltip similarly omits the language name. I think the issue is that {{Languagename}} falls back to the current page's language, whereas the #language: parser function does not. – Minh Nguyễn 💬 01:23, 14 October 2019 (UTC)

Ouch! It does seem that my attempt to reduce bloat here was too eager.--Andrew (talk) 19:00, 14 October 2019 (UTC)
I think the missing piece is {{Langcode}}, which {{Languagename}} falls back to. Bringing it back might cede some of the performance gain you were hoping to get by using #language: though. – Minh Nguyễn 💬 19:54, 14 October 2019 (UTC)

edit link behaviour

The current programming takes the user directly to the editor mode of the linked page (when clicking on the help translate icon). I would consider it an improvement if the user was first just shown the page before directly starting editing. This would give them the opportunity to get an overview first and read the notes in the doc, if there are any. What do you mean? --Chris2map (talk) 18:54, 9 January 2023 (UTC)