https://bugzilla.wikimedia.org/show_bug.cgi?id=55305
Web browser: ---
Bug ID: 55305
Summary: swapped meaning of function parameter in movepages.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/947/
Reported by: falk_steinhauer
Created on: 2009-05-19 23:23:39
Subject: swapped meaning of function parameter in movepages.py
Original description:
revision 6906 of movepages.py swaps the meaning of the last function parameter
of page.move\(newPageTitle, msg, throttle=True,
leaveRedirect=self.noredirect\).
"leaveRedirect" has the opposite meaning of "noredirect".
When running movepages.py directly the error is compensated, but importing
movepages in own scripts leads to problems with the swapped meaning.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55164
Web browser: ---
Bug ID: 55164
Summary: Bot incorectly removes categories with parser
functions
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/1539/
Reported by: jandudik
Created on: 2012-11-12 16:54:26
Subject: Bot incorectly removes categories with parser functions
Original description:
https://cs.wiktionary.org/w/index.php?title=Kategorie:Vulg%C3%A1rn%C3%AD\_v…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55294
Web browser: ---
Bug ID: 55294
Summary: Issue in userlib.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/1063/
Reported by: nakor-wikipedia
Created on: 2009-10-31 20:53:12
Subject: Issue in userlib.py
Original description:
userlib.contributions\(\) changed the format it outputs. Please revert to the
previous format %Y-%m-%dT%H:%M:%SZ .
The new format should be proposed as an option. Just changing the format
without compatibility breaks existing scripts.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55152
Web browser: ---
Bug ID: 55152
Summary: Recentchanges misbehave?
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/1579/
Reported by: Anonymous user
Created on: 2013-02-13 09:41:03
Subject: Recentchanges misbehave?
Original description:
There are two bugs I found in recentchanges\(\) from wikipedia.py.
First, I think that the function should return every revision. However, now it
returns only pages that haven't seen before.
Should
if i\['pageid'\] not in seen:
seen.add\(i\['pageid'\]\)
be replaced with
if i\['revid'\] not in seen:
seen.add\(i\['revid'\]\)
?
Second, what does parameter 'includeredirects' stand for? It is useless becaue
it isn't used anywhere in the function.
Pywikipedia trunk/pywikipedia/ \(r11072, 2013/02/10, 16:52:07, ok\)
Python 2.7.3 \(default, Sep 26 2012, 21:53:58\)
\[GCC 4.7.2\]
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=56072
Web browser: ---
Bug ID: 56072
Summary: no pywikibot method corresponding to
'action=wbremovereferences' in wikidata api
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: isalix(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
While we have removeClaims as a function for ItemPages, there is no
removeSources to remove a source that belongs to a claim.
It would be needed to create a function for item pages, and for the underlying
site.py function removeSources to be created to call the api with
https://www.wikidata.org/w/api.php - action=wbremovereferences as the action.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62014
Bug ID: 62014
Summary: Add support for item without link to harvest_template
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
It would be verey usefull if harvest_template can add properties type item alsi
in case, when they are not formated like [[foo]]
example:
city = [[Berlin]] is OK
state= Germany is not OK even if the template formats this as link.
example of command:
harvest_template -template:"Infobox" state P123 -islink
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62011
Bug ID: 62011
Summary: Make a script to import coordinates from Wikipedia to
Wikidata
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: maarten(a)mdammers.nl
Web browser: ---
Mobile Platform: ---
legoktm implemented coordinates logic to Pywikibot so you can ask the page for
the coordinates, see
https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/page.py#L…
I have some code lying around here to import coordinates to Wikidata so I can
probably glue the two together to make it easy to import
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54898
Web browser: ---
Bug ID: 54898
Summary: call to wikipediatools.py still done in core branch
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mpaa.wiki(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
In version.py a call is still made to wikipediatools.py:
def getversion_nightly():
data = open(os.path.join(wikipediatools.get_base_dir(), 'version'))
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=61231
Web browser: ---
Bug ID: 61231
Summary: Undefined global WindowsError in version.py
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: russblau(a)hotmail.com
Classification: Unclassified
Mobile Platform: ---
On Tools Lab, my tool http://tools.wmflabs.org/russbot/csd.py is throwing the
following exception (edited for brevity):
/data/project/russbot/cgi-bin/csd.py in ()
=> 37 import pywikibot
/shared/pywikipedia/rewrite/pywikibot/__init__.py in ()
=> 418 from .page import Page, ImagePage, Category, Link, User, ItemPage,
PropertyPage, Claim
/shared/pywikipedia/rewrite/pywikibot/page.py in ()
=> 17 import pywikibot.site
/shared/pywikipedia/rewrite/pywikibot/site.py in ()
=> 32 from pywikibot import pagegenerators
/shared/pywikipedia/rewrite/pywikibot/pagegenerators.py in ()
=> 31 from pywikibot.comms import http
/shared/pywikipedia/rewrite/pywikibot/comms/http.py in ()
=> 62
version=pywikibot.version.getversiondict())
/shared/pywikipedia/rewrite/pywikibot/version.py in getversiondict()
51 else:
=> 52 (tag, rev, date, hsh) = getversion_git(_program_dir)
/shared/pywikipedia/rewrite/pywikibot/version.py in
getversion_git(path='/shared/pywikipedia/rewrite')
132 try:
133 subprocess.Popen([cmd], stdout=subprocess.PIPE).communicate()
=> 134 except WindowsError:
135 # some windows git versions provide git.cmd instead of git.exe
136 cmd = 'git.cmd'
WindowsError undefined
<type 'exceptions.NameError'>: global name 'WindowsError' is not defined
args = ("global name 'WindowsError' is not defined",)
message = "global name 'WindowsError' is not defined"
Curiously, I can import pywikibot when starting Python from the command prompt;
the exception is only thrown when Python is started from the webserver.
local-russbot@tools-login:~$ version.py
Pywikibot: [https] r-p-pywikibot-core.git (ef8fcb5, g2752, 2014/02/11,
06:31:56, ok)
Release version: 2.0b1
Python: 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3]
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55130
Web browser: ---
Bug ID: 55130
Summary: version.py does not work with git
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/1649/
Reported by: valhallasw
Created on: 2013-07-28 19:37:27.167000
Subject: version.py does not work with git
Original description:
Pywikibot (r-1 (unknown), 0 (unknown), OUTDATED)
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3]
unicode test: ok
is not a very useful version identifier.
--
You are receiving this mail because:
You are the assignee for the bug.