User:Ryebot/bot/scripts/langsync/config

This script has several configuration options.

Firstly, wikis contains a comma-separated list of language codes for the wikis to update pages on. Possible list values are.

Secondly, categories and pages define the set of pages from the English wiki that are to be synced to the language wikis. While categories allows to include large numbers of pages, pages makes it possible to add single pages. Only direct members of each category from categories are included, not members of subcategories or the subcategories themselves. The list delimiter for both parameter values is a semicolon, e.g..

The following two configuration options are language-specific, thus start with  (taking fr here as an example): fr:syncnot and fr:syncalso. syncnot contains a list of pages that are to be excluded from synchronization for this language from the set of pages compiled from the two options above. For instance, if Template:Item infobox/l10n (which could included in the list of pages to sync via ) should not be updated to the most recent version on the French wiki, add it to this list:. On the contrary, syncalso contains a list of pages that should be synced in addition to the ones defined for all languages, and only for this language, e.g. . Similarly to above, both lists are semicolon-separated.

Furthermore, it is possible to define the target page on the language wiki for a given English page (by default, it is assumed the page title on the language wiki is identical to the one on the English wiki). Set the configuration option  to the target page, for instance (again, fr taken as an example): If the contents of the page Recipes/Altar/register should be copied to fr:Recettes/Autel/register instead of fr:Recipes/Altar/register, use the configuration option. This can be done with any page that is in the set of pages to sync, including members of each category from categories and also the respective language's syncalso, and not in the syncnot.