adding version info:
Pywikipedia [https] r/pywikibot/compat (r10308, a208b54, 2013/09/24, 09:51:19, ok)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
---
** [bugs:#1537] Wikia returns cached pages for get.py editarticle.py**
**Status:** open
**Labels:** General
**Created:** Wed Nov 07, 2012 12:36 PM UTC by Throwy
**Last Updated:** Tue Sep 24, 2013 09:54 PM UTC
**Owner:** nobody
get.py and editarticle.py use a method of page fetching that results in cached pages from
Wikia
replace.py uses the pagegenerator method, which fetches the latest version of pages from
Wikia
The issue is probably a Wikia issue, but it would be nice to implement a workaround in
pywikipediabot.
Steps to reproduce:
Create or edit a page on a Wikia wiki. Fetch the page with editarticle.py or get.py . The
bot should fetch a cached version. Edit the page with replace.py and the bot should fetch
the most recent version, which is the expected behavior.
Comments:
Someone had already solved this issue for me on \#pywikipediabot on freenode. It requires
very little alteration to get.py and editarticle.py. Unfortunately I did not back up or
document the changes before updating pywikipediabot from SVN and the changes were lost.
\----
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r10663, 2012/11/04, 19:53:31\)
Python 2.7.3 \(v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43\)
\[GCC 4.2.1 \(Apple Inc. build 5666\) \(dot 3\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
---
Sent from
sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to
https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.