Revision: 4226 Author: wikipedian Date: 2007-09-11 10:44:08 +0000 (Tue, 11 Sep 2007)
Log Message: ----------- exceptions for grammar-de
Modified Paths: -------------- trunk/pywikipedia/fixes.py
Modified: trunk/pywikipedia/fixes.py =================================================================== --- trunk/pywikipedia/fixes.py 2007-09-10 19:14:03 UTC (rev 4225) +++ trunk/pywikipedia/fixes.py 2007-09-11 10:44:08 UTC (rev 4226) @@ -66,7 +66,6 @@ # Grammar fixes for German language 'grammar-de': { 'regex': True, - 'exceptions': ['sic!'], 'msg': { 'de':u'Bot: korrigiere Grammatik', }, @@ -90,6 +89,11 @@ # Leerzeichen und Komma vertauscht (u'([a-z](]])?) ,(([[)?[a-zA-Z])', r'\1, \3'), #(u'([a-z].)([A-Z])', r'\1 \2'), + ], + 'exceptions': [ + 'sic!', + 'Ju 52/3m', # Flugzeugbezeichnung + 'AH-1W', # Hubschrauberbezeichnung ] }, # Do NOT run this automatically!