Template talk:Historical

From MediaWiki.org
Jump to navigation Jump to search

This template now spews translate tags wherever it's used "plain", can we fix in general?[edit]

Hi User:Shirayuki, you translated this template, which is great, but now all the pages that just use {{historical|blah blah}} spew lots of <translate> ...</translate> markup.

e.g. https://www.mediawiki.org/w/index.php?title=Wikimedia_Engineering/Project_documentation_howto&oldid=1497149 (before I fixed it) showed:

<translate> This MediaWiki page is inactive and kept for historical interest.</translate> <translate> It may document extensions or features that are obsolete and/or no longer supported.</translate> <translate> Do not rely on the information here being up-to-date.</translate>

The fix is to change template invocations to {{TNT|historical|blah blah}}, but there are hundreds of them! Translation is valuable, but we shouldn't mess up hundreds of existing pages just to translate a few.

Is there is a way to have a template not output translation machinery when it detects it's invoked in a normal manner? Otherwise, I urge translators to not change templates without a plan to update all the existing pages that invoke it.

This seems a general issue to bring up on some localization discussion page or on wikimedia-i18n mailing list, I welcome any suggestions. Thanks as always for your translation efforts!

-- SPage (WMF) (talk) 20:34, 5 October 2015 (UTC)

This bug is caused by the Translate extension. It should be fixed radically by the Translate extension developers. --Shirayuki (talk) 21:34, 5 October 2015 (UTC)
Template:Warning uses Lua, but I noticed it has another problem. e.g.

--Shirayuki (talk) 21:54, 5 October 2015 (UTC)

@Shirayuki: I don't agree. While there's obviously a bug on the translate extension, you shouldn't leave broken pages around mediawiki.org. That's not acceptable. I've already requested multiple times to ask for a bot to replace all instances of templates with their TNT replacement, but this is not being done. --Ciencia Al Poder (talk) 20:55, 6 January 2016 (UTC)