http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8877
Revision: 8877
Author: valhallasw
Date: 2011-01-22 15:17:01 +0000 (Sat, 22 Jan 2011)
Log Message:
-----------
Partially: revert r8636, apply r8741,r8750.
r8636 introduced a temporary fix for unicode problem #3081100. In r8741, a
more permanent solution was introduced. This solution was slightly changed in
r8750. The last solution is ported to rewrite in this commit.
Modified Paths:
--------------
branches/rewrite/scripts/interwiki.py
Modified: branches/rewrite/scripts/interwiki.py
===================================================================
--- branches/rewrite/scripts/interwiki.py 2011-01-22 15:16:56 UTC (rev 8876)
+++ branches/rewrite/scripts/interwiki.py 2011-01-22 15:17:01 UTC (rev 8877)
@@ -2363,8 +2363,10 @@
fmt = lambda d, site: site.lang
head, add, rem, mod = pywikibot.translate(insite.lang, msg)
- if insite.lang=='de' and not globalvar.autonomous:
- head = u'Halbautomatischer %s' % head #prevents abuse filter blocking for hi-wiki
+ #Version info marks bots without unicode error
+ #This also prevents abuse filter blocking on de-wiki
+ if not pywikibot.unicode_error:
+ head = u'r%s) (%s' % (sys.version.split()[0], head)
colon = u': '
comma = u', '
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8872
Revision: 8872
Author: multichill
Date: 2011-01-22 11:40:04 +0000 (Sat, 22 Jan 2011)
Log Message:
-----------
Make screen bigger (1000 -> 1500)
Modified Paths:
--------------
trunk/pywikipedia/imagecopy_self.py
Modified: trunk/pywikipedia/imagecopy_self.py
===================================================================
--- trunk/pywikipedia/imagecopy_self.py 2011-01-21 21:22:45 UTC (rev 8871)
+++ trunk/pywikipedia/imagecopy_self.py 2011-01-22 11:40:04 UTC (rev 8872)
@@ -138,7 +138,8 @@
self.root=Tk()
#"%dx%d%+d%+d" % (width, height, xoffset, yoffset)
#Always appear the same size and in the bottom-left corner
- self.root.geometry("1000x400+100-100")
+ #FIXME : Base this on the screen size or make it possible for the user to configure this
+ self.root.geometry("1500x400+100-100")
self.root.title(imagepage.titleWithoutNamespace())