Multilingual Templates and Modules

Intro
This project describes how templates and modules can be kept in sync between multiple languages and projects.

Since the beginning of Wikipedia, language wikis copied templates, and users kept asking to be able to share the same templates and modules on multiple wikis, without spending precious developer time copy/pasting them between hundreds of languages and projects. It would be ideal for MediaWiki to support this functionality, but that turned to be much more difficult challenge than anticipated. This project is designed to work around MediaWiki limitation, while offering the so much needed functionality.

Method

 * A bot copies template and module pages from mediawiki.org to all other sites/languages listed in Wikidata for that page.
 * Wikidata item must have "instance of" set to "Wikimedia multi-site page" (Q63090714), in addition to any other instance-of values.
 * A page will be copied ONLY if the current content of the page exists in the history of mediawiki.org's (origin) version. E.g. if a user modifies English version of the page, it will not be overwritten unless that exact text ever existed in the history of the page on mediawiki.org.  To resume automatic synchronization, a user must copy the latest origin's version of the page.

Translating Content
There is very little value in having non-translated content copied as is. The Module:TNT was created specifically to solve that. Instead of storing English text in a module or a template, TNT allows multilingual text to be stored in the tabular data pages on Commons, which are accessible by all wikis. This way your module or template will use those translated strings, or if the text is not translated, will show English until someone translates it. When someone updates the translation table, your page will automatically update (might take some time, or you can purge it), but no change in the template or module is needed.

Translating Template Parameters
(TODO)