https://bugzilla.wikimedia.org/show_bug.cgi?id=61763
Bug ID: 61763
Summary: Enable usage of sum_disc.py on all languages (tested
on dewiki only)
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: dr.trigon(a)surfeu.ch
Web browser: ---
Mobile Platform: ---
sum_disc.py should be enhanced such that it is able to run on any language,
since it was used on dewiki only in the past. This needs to sort out some
things and find corresponding mechanisms or tools that work on all wikis.
There was at least 1 request already to run it e.g. on commons, see [1].
[1]
https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:DrTrigon/Lon…
--
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55320
Web browser: ---
Bug ID: 55320
Summary: fixing_redirects.py encodes section-link
hexadecimally.
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/743/
Reported by: nightshadow28
Created on: 2008-06-11 10:22:29
Subject: fixing_redirects.py encodes section-link hexadecimally.
Original description:
fixing\_redirects.py encodes section-link hexadecimally.
When fixing\_redirects.py fixes in-line links, the bot will replace section
name hexadecimally.
For example,
http://ja.wikipedia.org/w/index.php?title=%E7%94%9F%E7%89%A9%E5%AD%A6&diff=…
original link: \[\[目的論\]\]
redirect: \[\[目的\#目的論\]\]
result of the bot: \[\[目的\#.E7.9B.AE.E7.9A.84.E8.AB.96|目的論\]\]
The result is difficult to maintenance by human...
Pywikipedia \[http\] trunk/pywikipedia \(r5554, Jun 10 2008, 15:47:56\)
Python 2.5.2 \(r252:60911, Apr 21 2008, 11:12:42\)
\[GCC 4.2.3 \(Ubuntu 4.2.3-2ubuntu7\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64870
Bug ID: 64870
Summary: Port inline_images.py to core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Blocks: 55880
Web browser: ---
Mobile Platform: ---
Possibily move it out of pywikibot as it's fairly special-purpose.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=59952
Web browser: ---
Bug ID: 59952
Summary: fixing_redirects.py does not work with : and #
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
When fixing redirects, bot does not fix links beginning with [[:langcode:link]]
*https://cs.wikiversity.org/w/index.php?title=U%C5%BEivatel:Kychot&curid=698&diff=43895&oldid=39956
Additionally, does not fix links with # [[link#foo]]
*https://cs.wikiversity.org/w/index.php?title=Dublin_Core/cvi%C4%8Den%C3%AD/DCdot&curid=4986&diff=43892&oldid=40427
*https://cs.wikiversity.org/w/index.php?title=Dublin_Core/cvi%C4%8Den%C3%AD/webarchiv_generator&curid=4984&diff=43891&oldid=20284
*https://cs.wikiversity.org/w/index.php?title=Diskuse:Zkoum%C3%A1m_OpenOffice.org_Base_(Juandev)&curid=4970&diff=43890&oldid=43499
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55256
Web browser: ---
Bug ID: 55256
Summary: Page.templates() cache does not respect get_redirect
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/1257/
Reported by: tgr_
Created on: 2010-10-31 10:39:27
Subject: Page.templates() cache does not respect get_redirect
Original description:
Steps to reproduce:
page = wikipedia.Page\(someSite, someRedirect\)
page.templates\(\) \# returns \[\]
page.templates\(get\_redirect=True\) \# returns \[\] from cache even if the
page does have templates
Pywikipedia \[http\] trunk/pywikipedia \(r8690, 2010/10/28, 15:34:19\)
Python 2.6.5 \(r265:79096, Mar 19 2010, 21:48:26\) \[MSC v.1500 32 bit
\(Intel\)\]
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=67276
Bug ID: 67276
Summary: edit conflict raises PageNotSaved exception instead of
EditConflict
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Web browser: ---
Mobile Platform: ---
>>> Benutzer Diskussion:Bernd Schwabe in Hannover <<<
+
+ {{ers:user:xqbot/LD-Hinweis|Harald Härke|angelegte}}
Comment: Bot: Benachrichtigung über Löschdiskussion zum Artikel [[Harald
Härke]]
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 153, in <module>
run_python_file(fn, argv, argvu)
File "C:\pwb\core\pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\pwb\core\scripts\la.py", line 273, in <module>
main()
File "C:\pwb\core\scripts\la.py", line 265, in main
bot.run()
File "C:\pwb\core\scripts\la.py", line 96, in run
self.treat(article)
File "C:\pwb\core\scripts\la.py", line 156, in treat
self.inform(user, page=page.title(), action=u'angelegte')
File "C:\pwb\core\scripts\la.py", line 194, in inform
if not self.save(text, talk, self.summary % param, minorEdit=False):
File "C:\pwb\core\scripts\la.py", line 238, in save
minorEdit=minorEdit, botflag=botflag)
File "C:\pwb\core\pywikibot\page.py", line 964, in put
**kwargs)
File "C:\pwb\core\pywikibot\__init__.py", line 423, in wrapper
return method(*__args, **__kw)
File "C:\pwb\core\pywikibot\page.py", line 885, in save
**kwargs)
File "C:\pwb\core\pywikibot\page.py", line 911, in _save
raise pywikibot.PageNotSaved("%s: %s" % (link, err))
pywikibot.exceptions.PageNotSaved: [[Benutzer Diskussion:Bernd Schwabe in
Hannover]]: editpage: Edit conflict detected; saving aborted.
<class 'pywikibot.exceptions.PageNotSaved'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
The Problem is that try: ... except pywikibot.EditConflict does not hints the
exceptions but it should do.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55264
Web browser: ---
Bug ID: 55264
Summary: SpamFilter error not raising
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/1217/
Reported by: betacommand
Created on: 2010-08-06 00:04:04
Subject: SpamFilter error not raising
Original description:
this is related to
https://sourceforge.net/tracker/?func=detail&aid=3028176&group\_id=93107&at…
pywikipedia quietly fails when triggering the spam filter
\{u'edit': \{u'spamblacklist': u'http://www.gamerbrain.net', u'result':
u'Failure'\}\}
is one example of the returned tuple either the API changed or someone broke
something
Python 2.6.5 \(r265:79063, Apr 16 2010, 13:09:56\)
\[GCC 4.4.3\]
config-settings:
use\_api = True
use\_api\_login = True
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64468
Bug ID: 64468
Summary: improve diff visualization for Wikibase entities
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: ricordisamoa(a)live.it
Depends on: 39147
Web browser: ---
Mobile Platform: ---
pywikibot.showDiff(oldText, newText) is currently used to compare two wikicode
strings. But what about data items?
We should either:
* use the API to get a diff in structured format (bug 39147), or:
* convert dicts to strings somehow, before sending them to difflib
More ideas are welcome.
--
You are receiving this mail because:
You are the assignee for the bug.