https://bugzilla.wikimedia.org/show_bug.cgi?id=70936
Bug ID: 70936
Summary: Pywikibot 2.0 [tracking]
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Pywikibot 2 has been in beta a very long time.
Currently the release string is:
Release version: 2.0b1
I suggest bump this beta number up each month, and identify and fix the *big*
problems remaining before 2.0 should be released and packaged by distros.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70987
Bug ID: 70987
Summary: py2.6 bugs [tracking]
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Tracking bug for issues only found on py2.6 on compat or core
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55296
Web browser: ---
Bug ID: 55296
Summary: Wikia Helper and Staff rights
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/1004/
Reported by: bluedevilwiki
Created on: 2009-08-11 01:20:48
Subject: Wikia Helper and Staff rights
Original description:
Please add Wikia Helper and Staff rights \(that are same as sysops\) to the
pywikipedia. http://www.wikia.com/wiki/Special:ListGroupRights
This way we don't have to make ourselves admin then use the bot. The bot would
understand that helpers and staffs are same as sysops.
Thanks\!
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55288
Web browser: ---
Bug ID: 55288
Summary: login.py no login IP blocked/user not
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: login.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/bugs/1129/
Reported by: masti01
Created on: 2010-02-27 23:08:20
Subject: login.py no login IP blocked/user not
Original description:
While loging with a bot from blocked IP range I got following:
$ python login.py -lang:ru
Password for user MastiBot on wikipedia:ru:
Logging in to wikipedia:ru as MastiBot
WARNING: Your account on wikipedia:ru is blocked. Editing using this account
will stop the run.
Should be logged in now
Only IP range /16 is blocked. I can log manually form sam IP.
Then when a bot is run:
Updating links on page \[\[ru:Словацкий, Юлиуш\]\].
Changes to be made: изменил: \[\[uk:Юліуш Словацький\]\]
\- \[\[uk:Словацький Юліуш\]\]
\+ \[\[uk:Юліуш Словацький\]\]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
WARNING: Your account on wikipedia:ru is blocked. Editing using this account
will stop the run.
Dump pl \(wikipedia\) appended.
Traceback \(most recent call last\):
File "interwiki.py", line 2390, in <module>
main\(\)
File "interwiki.py", line 2364, in main
bot.run\(\)
File "interwiki.py", line 2124, in run
self.queryStep\(\)
File "interwiki.py", line 2102, in queryStep
subj.finish\(self\)
File "interwiki.py", line 1627, in finish
if self.replaceLinks\(page, new, bot\):
File "interwiki.py", line 1808, in replaceLinks
status, reason, data = page.put\(newtext, comment = mcomment\)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 1540, in put
self.site\(\).checkBlocks\(sysop = sysop\)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4811, in checkBlocks
raise UserBlocked\('User is blocked in site %s' % self\)
pywikibot.exceptions.UserBlocked: User is blocked in site wikipedia:ru
The block is for ovh.pl hosting service.
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7972, 2010/02/27, 10:13:26\)
Python 2.6.2 \(r262:71600, Oct 22 2009, 08:54:52\)
\[GCC 4.3.4\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69551
Bug ID: 69551
Summary: archivebot & timestripper doesnt support several
languages
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: archivebot.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Archivebot / Timestripper is known to not work with the following languages:
- Arabic (ar)
- Persian (fa)
- Thai (th)
- Pennsylvania German (pdc)
- Soranî, Central Kurdish branch language (ckb)
tests/archivebot_tests registered failures for those languages:
https://git.wikimedia.org/blob/pywikibot%2Fcore.git/2d9984f66b67369382462b3…
tests/timestripper_tests only has tests for
- French
- Norwegian
- Czech
- English
- Portuguese
https://git.wikimedia.org/blame/pywikibot%2Fcore.git/master/tests%2Ftimestr…
More tests are needed for timestripper to run by default, and it would be good
to have more languages able to be tested with archivebot, but possibly not run
by default as they are quite time consuming.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58053
Web browser: ---
Bug ID: 58053
Summary: Python 3 compatibility
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
Classification: Unclassified
Mobile Platform: ---
Make Pywikibot also work under shiny new versions of Python (3.3+, probably).
We are aiming for a multi-compatible codebase (2.6, 2.7 and 3.3, and in the
near future 3.4), without a dependency on six. This means we do have some hacks
(try-except import blocks, 'if sys.version[0] > 2: unicode = str', etc.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69118
Bug ID: 69118
Summary: Link() and Site.sametitle fail when namespace case is
different from site case
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: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
As can be seen at the following, the 'site' has a case in the general chunk,
and each namespace can have another case. e.g. User & MediaWiki & Special are
not case-sensitive, whereas the other namespaces are.
https://en.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=gener…
pywikibot (core and compat) only fetch and use the case rule from the general
site data, not for each namespace.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=60572
Web browser: ---
Bug ID: 60572
Summary: delete.py should have different messaged for
deleting/undeleting pages
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
Now we have the same edit summary for deleting and undeleting operations.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69895
Bug ID: 69895
Summary: Calling any script passing the -help argument,
performs an api call to the default configured wiki
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: martineznovo(a)gmail.com
Web browser: ---
Mobile Platform: ---
When calling any script with the -help argument to see the parameters it can
handle, the bot makes a call to the api of the default configured wiki.
I noticed it because my default configured wiki is a test wiki hosted locally,
and I have the webserver stopped when I don't need it running. When I need to
run the bot, I manually specify -family:WHATEVER
Under that circumstances, every attempt to run -help on any script causes an
error because the default configured wiki-family is not accessible:
$ python pwb.py replace.py -help
> ERROR: Traceback (most recent call last):
> File "/path/pywikibot/data/api.py", line 341, in submit
> body=paramstring)
> File "/path/pywikibot/comms/http.py", line 184, in request
> raise request.data
> error: [Errno 111] Connection refused
>
> WARNING: Waiting 5 seconds before retrying.
> ^CTraceback (most recent call last):
> File "pwb.py", line 171, in <module>
> run_python_file(fn, argv, argvu)
> File "pwb.py", line 69, in run_python_file
> exec(compile(source, filename, "exec"), main_mod.__dict__)
> File "scripts/replace.py", line 685, in <module>
> main()
> File "scripts/replace.py", line 483, in main
> local_args = pywikibot.handleArgs(*args)
> File "/path/pywikibot/bot.py", line 666, in handleArgs
> init_handlers()
> File "/path/pywikibot/bot.py", line 248, in init_handlers
> writelogheader()
> File "/path/pywikibot/bot.py", line 318, in writelogheader
> log(u'SITE VERSION: %s' % unicode(site.live_version()))
> File "/path/pywikibot/site.py", line 1877, in live_version
> expiry=0 if force else 1)
> File "/path/pywikibot/site.py", line 1097, in get
> preloaded = self._get_general(key, expiry)
> File "/path/pywikibot/site.py", line 1043, in _get_general
> default_info = self._get_siteinfo(props, expiry)
> File "/path/pywikibot/site.py", line 967, in _get_siteinfo
> siprop='|'.join(props)).submit()
> File "/path/pywikibot/data/api.py", line 580, in submit
> self._data = super(CachedRequest, self).submit()
> File "/path/pywikibot/data/api.py", line 358, in submit
> self.wait()
> File "/path/pywikibot/data/api.py", line 469, in wait
> time.sleep(self.retry_wait)
> KeyboardInterrupt
> <type 'exceptions.KeyboardInterrupt'>
Of course, it works when I have apache running, but such connections seem
unnecessary when the bot doesn't have to run anything.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68941
Bug ID: 68941
Summary: Add ignore templates to commonscat.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: dan.mac22(a)gmail.com
Web browser: ---
Mobile Platform: ---
Please update the ignoreTemplates['pt'] in commonscat.py:
- 'pt': [u'Correlatos'],
+ 'pt': [u'Correlatos', u'Commons', u'Commons cat multi', u'Commons1',
u'Commons2'],
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.