https://bugzilla.wikimedia.org/show_bug.cgi?id=55165
Web browser: ---
Bug ID: 55165
Summary: Wikia returns cached pages for get.py editarticle.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1537/
Reported by: throwy
Created on: 2012-11-07 12:36:40
Subject: Wikia returns cached pages for get.py editarticle.py
Original description:
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
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55120
Web browser: ---
Bug ID: 55120
Summary: reflinks.py work with ref group
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1670/
Reported by: rubin16
Created on: 2013-09-10 09:13:48.112000
Subject: reflinks.py work with ref group
Original description:
reflinks.py from /compat/ makes some mess with groups of references:
https://ru.wikipedia.org/w/index.php?diff=58138900&oldid=58101042
Is it possible to amend it or just start to ignore references with <ref group>
inside?
PS: I've created bug on bugzilla (53936) but it seems that active bugtracker is
here, not there
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55045
Web browser: ---
Bug ID: 55045
Summary: imagecopy.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/289/
Reported by: rubin16
Created on: 2011-08-30 17:29:50
Subject: imagecopy.py
Original description:
CommonsHelper \(http://tools.wikimedia.de/~magnus/commonshelper.php\) has some
troubles with parsing images from cyrillic-based wikis \(see
https://jira.toolserver.org/browse/MAGNUS-218\). As Magnus said, it's not
possible to correct this bug in commonshelper I, but now it is fixed in
CommonsHelper II \(http://toolserver.org/~commonshelper2/index.php\).
Is it possible to switch imagecopy.py to CommonsHelperII? This would be useful
not only for cyrillic wikis, but also for all other chapters, because Magnus
said that it would be better to switch to CH II
\(http://lists.wikimedia.org/pipermail/commons-l/2011-April/005940.html\) as
not all serious problems can be fixed in first version and some other bugs can
appear in the future.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55292
Web browser: ---
Bug ID: 55292
Summary: copyright.py crashes on non-Wikipedia projects
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1091/
Reported by: mike_lifeguard
Created on: 2009-11-24 15:55:45
Subject: copyright.py crashes on non-Wikipedia projects
Original description:
Because Wikipedia is hardcoded, copyright.py attempts to get
\[\[wikipedia:en:Mirrors and forks/Abc\]\] et al, but obviously can't, then
later crashes because the .txt files don't exist. Terminal output/traceback
attached.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55195
Web browser: ---
Bug ID: 55195
Summary: Invalid Title in flickrripper
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1466/
Reported by: betacommand
Created on: 2012-06-19 19:52:25
Subject: Invalid Title in flickrripper
Assigned to: xqt
Original description:
Betacommand multichill: I know you wrote flickrripper.py and Im trying to
fix an issue with it, and thought it might be easier for you to fix
Betacommand lines 157-161 where it grabs the description and uses it for the
file name
Betacommand when you start working with non-latin descriptions it doesnt
handle multi-byte characters well, it ended up with a title over 320 bytes
Betacommand the max mediawiki lets you have is 255
multichill Lol
Betacommand multichill: really rather a pain
multichill So the check shoul probably encode it and than see how long it
is?
Betacommand correct
multichill Or just lower the limit a bit?
Betacommand thai letters for example are 3 bytes
Betacommand notes it was discovered with flickrripper.py -autonomous
-user\_id:40561337@N07 -addcategory:"Files from Abhisit Vejjajiva Flickr
stream"
multichill Betacommand: Could you file a bug for this?
Betacommand multichill: you would need to cut it down to 85 to be safe
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55309
Web browser: ---
Bug ID: 55309
Summary: imagetransfer.py does not work
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/882/
Reported by: Anonymous user
Created on: 2009-03-18 22:49:30
Subject: imagetransfer.py does not work
Original description:
the -tolang and -tofamily options are not used, when trying to transfer images
from commons to another wiki with this parameter specified I get the error "The
image is already on Wikimedia Commons" but I want the images in a local wiki -
that means to move them from Commons
I'm using:
Pywikipedia \[http\] trunk/pywikipedia \(r6514, Mar 17 2009, 15:25:21\)
Python 2.6 \(trunk:66714:66715M, Oct 1 2008, 18:36:04\)
\[GCC 4.0.1 \(Apple Computer, Inc. build 5370\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54565
Web browser: ---
Bug ID: 54565
Summary: Picasa copier upload script
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/548/
Reported by: yjenith
Created on: 2012-05-02 05:23:23
Subject: Picasa copier upload script
Original description:
A tool to do batch uploading of Google web album \(Picasa\) to Commons using
Pywikipedia and Google data API.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55202
Web browser: ---
Bug ID: 55202
Summary: Replace.py does not open articles with "?" in browser
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1434/
Reported by: binbot
Created on: 2012-04-10 14:10:47
Subject: Replace.py does not open articles with "?" in browser
Original description:
If the name of the article ends with a "?" and you press b for browser in
replace.py, it tries to open an article without "?" at the end of the title.
Reproduce with http://hu.wikipedia.org/wiki/Ki\_vagy,\_Doki%3F \(replace.py a b
-lang:hu -page:"Ki vagy, Doki?"\)
Pywikipedia trunk/pywikipedia/ \(r10103, 2012/04/10, 07:18:22\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55205
Web browser: ---
Bug ID: 55205
Summary: upload.py error with Wikia.com
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1424/
Reported by: Anonymous user
Created on: 2012-03-18 17:47:08
Subject: upload.py error with Wikia.com
Original description:
P:\pywikipedia>python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r10023, 2012/03/17, 18:03:32\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
P:\pywikipedia>python upload.py wikih.jpg
WARNING: Your account on sxerks:en does not have a bot flag. Its edits will be
v
isible in the recent changes and it may get blocked.
Reading file wikih.jpg
The filename on the target wiki will default to: wikih.jpg
Enter a better name, or press enter to accept:
The suggested description is:
Do you want to change this description? \(\[y\]es, \[N\]o\) n
Uploading file to sxerks:en via API....
'ascii' codec can't decode byte 0xff in position 622: ordinal not in
range\(128\)
WARNING: Could not open 'http://sxerks.wikia.com/api.php'. Maybe the server or
your connection is down. Retrying in 1 minutes...
Traceback \(most recent call last\):
File "upload.py", line 472, in <module>
main\(\)
File "upload.py", line 468, in main
bot.run\(\)
File "upload.py", line 440, in run
return self.upload\_image\(\)
File "upload.py", line 282, in upload\_image
data = query.GetData\(params, self.targetSite\)
File "P:\pywikipedia\query.py", line 137, in GetData
site.cookies\(sysop=sysop\)
File "P:\pywikipedia\upload.py", line 46, in post\_multipart
cookies=cookies\)
File "P:\pywikipedia\wikipedia.py", line 5497, in postData
time.sleep\(retry\_idle\_time \* 60\)
KeyboardInterrupt
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55047
Web browser: ---
Bug ID: 55047
Summary: commonscat.py clone for wikispecies
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/287/
Reported by: avicennasis
Created on: 2011-07-12 02:08:12
Subject: commonscat.py clone for wikispecies
Original description:
Commonscat.py works very well - would it be possible to get a clone of this for
the wikispecies project?
--
You are receiving this mail because:
You are the assignee for the bug.