Χρήστης:Lou bot/fixes.ex
# -*- coding: utf-8 -*- help = """ * HTML - Convert HTML tags to wiki syntax, and fix XHTML. """ import codecs import sys, re fixes = { 'protypo_t2': { 'regex' : True, 'msg': { 'el':u'Αλλαγή ξεν με τ', }, 'replacements': [ (u'\{\{ξεν\-\|(als|gla|wen|rm|smi|nov|enm|kan|akz|xh)\|\{\{PAGENAME\}\}\}\}', u'{{τ|\\1|{{PAGENAME}}|nowiki=1}}'), (u'\{\{ξεν\-\|([^\|]+)\|\{\{PAGENAME\}\}\}\}', u'{{τ|\\1|{{PAGENAME}}|noentry=1}}'), ], }, }