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=72424
Bug ID: 72424
Summary: ModuleDeprecationWrapper breaks epydoc
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: documentation
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
epydoc documentation was broken with the introduction of
ModuleDeprecationWrapper in __init__.
$ epydoc --debug pywikibot
Warning: Module pywikibot is shadowed by a variable with the same name.
Traceback (most recent call last): Progress:
28:32
File "/usr/bin/epydoc", line 13, in
<module>-----------------------------------------------------------------------------------------------]
cli() Building documentation: pywikibot'.i18n
(.../pywikibot/i18n.pyc)
File "/usr/lib/python2.7/dist-packages/epydoc/cli.py", line 965, in cli
main(options, names)
File "/usr/lib/python2.7/dist-packages/epydoc/cli.py", line 757, in main
exclude_parse=exclude_parse)
File "/usr/lib/python2.7/dist-packages/epydoc/docbuilder.py", line 206, in
build_doc_index
doc_pairs = _get_docs_from_items(items, options)
File "/usr/lib/python2.7/dist-packages/epydoc/docbuilder.py", line 398, in
_get_docs_from_items
item, doc_pairs[-1], options, progress_estimator)
File "/usr/lib/python2.7/dist-packages/epydoc/docbuilder.py", line 595, in
_get_docs_from_submodules
module_filename, options, progress_estimator, pkg_docs)
File "/usr/lib/python2.7/dist-packages/epydoc/docbuilder.py", line 541, in
_get_docs_from_module_file
filename=filename, context=parent_docs[0])
File "/usr/lib/python2.7/dist-packages/epydoc/docintrospecter.py", line 106,
in introspect_docs
value = get_value_from_filename(filename, context)
File "/usr/lib/python2.7/dist-packages/epydoc/docintrospecter.py", line 828,
in get_value_from_filename
pkg_dir = os.path.split(context.filename)[0]
AttributeError: 'GenericValueDoc' object has no attribute 'filename'
removing the last two lines of __init__.py fixes that problem, but likely
others exist; here is the output after that is removed, showing mostly a
problem with the deprecators/redirectors.
$ epydoc --debug pywikibot
+-------------------------------------------------------------------------------------------------------------------------------------------
| In .../pywikibot/botirc.py:
| Import failed (but source code parsing was successful).
| Error: ImportError: No module named ircbot (line 23)
|
Warning: No information available for
pywikibot.data.api.CTEBinaryBytesGenerator's base
email.generator.BytesGenerator
Warning: No information available for
pywikibot.data.api.CTEBinaryMIMEMultipart's base
email.mime.multipart.MIMEMultipart
Warning: No information available for
pywikibot.data.api.CTEBinaryBytesGenerator's base
email.generator.BytesGenerator
Warning: No information available for
pywikibot.data.api.CTEBinaryMIMEMultipart's base
email.mime.multipart.MIMEMultipart
Debug: <RoutineDoc pywikibot.categoryFormat> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.compileLinkR> is in <ModuleDoc pywikibot.tools>
but name does not dominate
Debug: <RoutineDoc pywikibot.extract_templates_and_params> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.getCategoryLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.getLanguageLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.interwikiFormat> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.interwikiSort> is in <ModuleDoc pywikibot.tools>
but name does not dominate
Debug: <RoutineDoc pywikibot.isDisabled> is in <ModuleDoc pywikibot.tools>
but name does not dominate
Debug: <RoutineDoc pywikibot.removeCategoryLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.removeCategoryLinksAndSeparator> is in
<ModuleDoc pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.removeDisabledParts> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.removeHTMLParts> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.removeLanguageLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.removeLanguageLinksAndSeparator> is in
<ModuleDoc pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.replaceCategoryInPlace> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.replaceCategoryLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.replaceExcept> is in <ModuleDoc pywikibot.tools>
but name does not dominate
Debug: <RoutineDoc pywikibot.replaceLanguageLinks> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.unescape> is in <ModuleDoc pywikibot.tools> but
name does not dominate
Debug: <RoutineDoc pywikibot.site.APISite.forceLogin> is in <ModuleDoc
pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.site.BaseSite.getNamespaceIndex> is in
<ModuleDoc pywikibot.tools> but name does not dominate
Debug: <RoutineDoc pywikibot.site.BaseSite.normalizeNamespace> is in
<ModuleDoc pywikibot.tools> but name does not dominate
Warning: 304 markup errors were found while processing docstrings. Use the
verbose switch (-v) to display markup errors.
--
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=72733
Bug ID: 72733
Summary: Implement site.undelete
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Currently core has methods in the Page object for undeletion
(Page.markDeletedRevision and Page.undelete), which invoke method
Site.undelete() which does not exist.
--
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.