Revision: 8593
Author: xqt
Date: 2010-09-23 16:46:30 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
changing digits on ckb-wiki disabled for now. There are some problems with picture sizes
Modified Paths:
--------------
trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2010-09-23 15:18:04 UTC (rev 8592)
+++ trunk/pywikipedia/cosmetic_changes.py 2010-09-23 16:46:30 UTC (rev 8593)
@@ -727,8 +727,9 @@
# do not change digits inside html-tags
pattern = re.compile(u'<[/]*?[^</]+?[/]*?>', re.UNICODE)
exceptions.append(pattern)
- for i in range(0,10):
- text = pywikibot.replaceExcept(text, str(i), u'٠١٢٣٤٥٦٧٨٩'[i],
exceptions)
+## disabled for now: some problems with wring picture size
+## for i in range(0,10):
+## text = pywikibot.replaceExcept(text, str(i), u'٠١٢٣٤٥٦٧٨٩'[i],
exceptions)
return text
# Retrieved from
"http://commons.wikimedia.org/wiki/Commons:Tools/pywiki_file_description_cleanup"
Show replies by date