Hello! Please apply attached patch to norefernces.py - localisation for eo: and minor bugfix. \| is added to regex for not match pipelined links, for not put the "<references /> before the trail images at http://eo.wikipedia.org/w/index.php?title=Lautenbach&diff=prev&oldid=2890600
Maksim
51a52 > 'eo':u'Roboto: Aldono de "<references />"', 93a95,101 > 'eo': [ > u'Eksteraj ligiloj', > u'Ekstera ligilo', > u'Eksteraj ligoj', > u'Ekstera ligo', > u'Rete' > ], 186a195,197 > 'eo': [ > u'Referencoj', > ], 273a285 > 'eo': [u'Referencoj'], 358c370 < elif not self.refR.search(oldTextCleaned): --- > if not self.refR.search(oldTextCleaned): 421c433 < interwikiPattern = r'\[\[([a-zA-Z\-]+)\s?:([^\[\]\n]*)\]\]\s*' --- > interwikiPattern = r'\[\[([a-zA-Z\-]+)\s?:([^\|\[\]\n]*)\]\]\s*' 438c450,453 < newSection = u'\n%s %s %s\n%s\n' % (ident, wikipedia.translate(self.site, referencesSections)[0], ident, self.referencesText) --- > gap=u'' > if index > 0 and oldText[index-1] != u'\n': > gap = u'\n' # to have empty line before > newSection = u'%s\n%s %s %s\n%s\n' % (gap, ident, > wikipedia.translate(self.site, referencesSections)[0], ident, > self.referencesText)
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
