http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10861
Revision: 10861 Author: xqt Date: 2013-01-03 07:51:08 +0000 (Thu, 03 Jan 2013) Log Message: ----------- revert r10825 due to bug #3599290
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2013-01-03 07:45:46 UTC (rev 10860) +++ trunk/pywikipedia/interwiki.py 2013-01-03 07:51:08 UTC (rev 10861) @@ -2334,11 +2334,9 @@
mcomment += globalvar.summary
- comma = i18n.twtranslate(insite.lang, 'interwiki-comma') - - changes = {'adding': comma.join([fmt(new, x) for x in adding]), - 'removing': comma.join([fmt(old, x) for x in removing]), - 'modifying': comma.join([fmt(new, x) for x in modifying]), + changes = {'adding': ', '.join([fmt(new, x) for x in adding]), + 'removing': ', '.join([fmt(old, x) for x in removing]), + 'modifying': ', '.join([fmt(new, x) for x in modifying]), 'from': u'' if not useFrom else old[modifying[0]]}
mcomment += i18n.twtranslate(insite.lang, commentname) % changes