[Pywikipedia-l] SVN: [4649] trunk/pywikipedia/image.py

rotem at svn.wikimedia.org rotem at svn.wikimedia.org
Sun Dec 9 11:49:37 UTC 2007


Revision: 4649
Author:   rotem
Date:     2007-12-09 11:49:32 +0000 (Sun, 09 Dec 2007)

Log Message:
-----------
(bug 1843759) Using ImagePage rather than Page in image.py

Modified Paths:
--------------
    trunk/pywikipedia/image.py

Modified: trunk/pywikipedia/image.py
===================================================================
--- trunk/pywikipedia/image.py	2007-12-09 11:41:22 UTC (rev 4648)
+++ trunk/pywikipedia/image.py	2007-12-09 11:49:32 UTC (rev 4649)
@@ -155,7 +155,7 @@
         mysite = wikipedia.getSite()
         ns = mysite.image_namespace()
 
-        oldImagePage = wikipedia.Page(mysite, ns + ':' + oldImage)
+        oldImagePage = wikipedia.ImagePage(mysite, ns + ':' + oldImage)
 
         gen = pagegenerators.FileLinksGenerator(oldImagePage)
         preloadingGen = pagegenerators.PreloadingGenerator(gen)





More information about the Pywikipedia-l mailing list