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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68847
Bug ID: 68847
Summary: Testsuite initialisation fails on Windows when pywin32
isnt installed
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tests
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Under python 2.7.8, the default test loader for 'tests' tries to instantiate
all files called '*_tests.py', and fails to instantiate the module 'ui_tests'
when pywin32 is not installed.
> python setup.py test
running test
running egg_info
writing requirements to pywikibot.egg-info\requires.txt
writing pywikibot.egg-info\PKG-INFO
writing top-level names to pywikibot.egg-info\top_level.txt
writing dependency_links to pywikibot.egg-info\dependency_links.txt
reading manifest file 'pywikibot.egg-info\SOURCES.txt'
writing manifest file 'pywikibot.egg-info\SOURCES.txt'
running build_ext
WARNING: Running on Windows and transliteration_target is not set.
Please see
https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Pywikibot/Wi
ndows
Traceback (most recent call last):
File "...\setup.py", line 94, in <module>
use_2to3=False
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "build\bdist.win-amd64\egg\setuptools\command\test.py", line 138, in run
File "build\bdist.win-amd64\egg\setuptools\command\test.py", line 118, in
with
_project_on_sys_path
File "build\bdist.win-amd64\egg\setuptools\command\test.py", line 164, in
run_
tests
File "C:\Python27\lib\unittest\main.py", line 94, in __init__
self.parseArgs(argv)
File "C:\Python27\lib\unittest\main.py", line 149, in parseArgs
self.createTests()
File "C:\Python27\lib\unittest\main.py", line 158, in createTests
self.module)
File "C:\Python27\lib\unittest\loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "C:\Python27\lib\unittest\loader.py", line 103, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "build\bdist.win-amd64\egg\setuptools\command\test.py", line 35, in
loadT
estsFromModule
File "C:\Python27\lib\unittest\loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'ui_tests'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=63327
Bug ID: 63327
Summary: Migrate i18n file format to JSON
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: i18n
Severity: normal
Priority: Unprioritized
Component: i18n
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: siebrand(a)kitano.nl
CC: niklas.laxstrom(a)gmail.com, valhallasw(a)arctus.nl
Web browser: ---
Mobile Platform: ---
We've recently started using JSON for i18n files in MediaWiki and for some
other products. We think it's a good non-executable format for i18n/L10n.
It would be nice if Pywikibot would also start using this format. It would also
allow us to remove the less than excellent Python file format support in the
Translate extension.
--
You are receiving this mail because:
You are the assignee for the bug.