"Xqt" posted a comment on pywikipedia.r10047.
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10047#c32651
Commit summary for pywikipedia.r10047:
1. Use the configuration value of the encoding for transliteration purposes,
even if it is overwritten in a subclass
2. Allow multi-step transliteration (x transliterates to y, which however
cannot be shown either, then use the transliteration of y as the
transliteration for x)
3. Add transliteration for Lao alphabet
Xqt's comment:
Is it sure that the following might never proceed a infinite loop? I heared
about infinite loop bugs after some changes to user interface.
while value.encode(encoding, 'replace').decode(encoding) == "?" and value in
self.trans:
value = self.trans[value]
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview