'''How to configure moin for differents languages or use patterns.''' See also CategoryMarket. <> == Brazilian Portuguese© == /!\ The category and template regexes below are required since Moin 1.9.1+ as system pages use them for page naming. {{{#!highlight python numbers=off page_category_regex = ur'(?PCategoria(?P(?!Template)\S+))' page_template_regex = ur'(?PTemplateDe(?P\S+))' page_dict_regex = ur'(?PDic(?P\S+))' page_group_regex = ur'(?PGrupo(?P\S+))' }}} == Italian Wiki == Tested and working with MoinMoin 1.8.5: {{{#!highlight python numbers=off language_default = 'it' page_category_regex = ur'(?PCategoria(?P(?!Modello)\S+))' page_dict_regex = ur'(?P(?P\S+)Dict)' page_group_regex = ur'(?PGruppo(?P\S+))' page_template_regex = ur'(?P(?P\S+)Modello)' }}} == Russian Wiki == For Russian-only content wiki: {{{#!highlight python numbers=off language_default = 'ru' page_category_regex = ur'(?PКатегория(?P\S+))' page_dict_regex = ur'(?P(?P\S+)(Словарь|Dict))' page_group_regex = ur'(?PГруппа(?P\S+))' page_template_regex = ur'(?PШаблон(?P\S+))' }}} For bilingual (Russian/English) wiki (recommended): {{{#!highlight python numbers=off language_default = 'ru' page_category_regex = ur'(?P(Категория|Category)(?P\S+))' page_dict_regex = ur'(?P(?P\S+)(Словарь|Dict))' page_group_regex = ur'(?P((?!.*Group)(?PГруппа))?(?P\S+)(?(ru)|Group))' page_template_regex = ur'(?P((?!.*Template)(?PШаблон))?(?P\S+)(?(ru)|Template))' }}} == German Wiki == {{{#!highlight python numbers=off language_default = 'de' page_category_regex = ur'(?PKategorie(?P\S+))' page_group_regex = ur'(?PGruppe(?P\S+))' page_template_regex = ur'(?P(?P\S+)Vorlage)' }}} I like this {{{#!highlight python numbers=off page_category_regex = ur'(?PKategorie(?P(?!Vorlage)\S+))' page_group_regex = ur'(?P(?P\S+)Gruppe)' page_template_regex = ur'(?P(?P\S+)Vorlage)' }}} == Spanish Wiki == {{{#!highlight python numbers=off page_category_regex = ur'(?PCategoria(?P(?!Plantilla)\S+))' page_dict_regex = ur'(?P(?P\S+)Dict)' page_group_regex = ur'(?P(?P\S+)Grupo)' page_template_regex = ur'(?P(?P\S+)Plantilla)' }}} == 简体中文维基 == {{{#!highlight python numbers=off page_category_regex = ur'(?P(?PCategory)?(?P\S+)(?(prefix)|类))' page_dict_regex = ur'(?P(?P\S+)(Dict|字典))' page_group_regex = ur'(?P(?P\S+)(Group|组))' page_template_regex = ur'(?P(?P\S+)(Template|模板))' }}} == French Wiki — Wiki français == {{{#!highlight python numbers=off language_default = 'fr' page_category_regex = ur'(?PCat[ée]gorie(?P\S+))' page_dict_regex = ur'(?PDict(?P\S+))' page_group_regex = ur'(?PGroupe(?P\S+))' page_template_regex = ur'(?PMod[eè]le(?P\S+))' }}} ---- Note: make sure the config file has the right encoding defined on top