https://bugzilla.wikimedia.org/show_bug.cgi?id=55078
Web browser: ---
Bug ID: 55078
Summary: replace.py -match option
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/219/
Reported by: Anonymous user
Created on: 2009-08-21 18:38:13
Subject: replace.py -match option
Original description:
Hello\! It would be nice, if you add -match option to replace.py, that means
that script will work only on pages which match some regexp.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54574
Web browser: ---
Bug ID: 54574
Summary: Re 1843798: Add capabiliy to remember pages to
replace.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
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/patches/326/
Reported by: sigmaoctantis
Created on: 2009-05-12 04:30:27
Subject: Re 1843798: Add capabiliy to remember pages to replace.py
Assigned to: nicdumz
Original description:
A new patch to implement toobaz's function with the changes suggested by
wikipedian.
https://sourceforge.net/tracker/?func=detail&aid=1843798&group\_id=93107&at…
\- solve\_disambiguation.py and pagegenerators.py:
1\. Generator and logging function for -primary option moved
from solve\_disambiguation.py to pagegenerators.py
2\. TODO in solve\_disambiguation.py done:
generator now starts yielding before all referring pages have been found
3\. makes use of new TextfilePageGenerator
4\. code is a few lines shorter
\- replace.py:
5\. "-exclude" option from toobaz's patch implemented.
Allows to filter generator through a list of previously edited pages.
New pages are appended to the filter file based on choices made:
-exclude: logs to filter choice "N"
6\. additional command line options for other settings:
-editonce: logs to filter choices "Y", "A"
-treatonce: logs to filter choices "Y", "A", "N"
-scanonce: logs to filter choices "Y", "A", "N"; no change
7\. uses generator and file format from solve\_disambiguation.py
\(suggested by wikipedian below\)
8\. default filter filename is the name of the fix. Files are placed
in a subdirectory "replace".
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55266
Web browser: ---
Bug ID: 55266
Summary: commonscat.py on fr.wp
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/1212/
Reported by: mystou
Created on: 2010-07-15 09:38:52
Subject: commonscat.py on fr.wp
Original description:
Hi,
On French Wikipedia, we use \{\{Autres
projets|commons=PAGE\_NAME|wiktionary=PAGE\_NAME\}\}, can you update
commonscat.py :
\* Convert old \{\{Commonscat|PAGE\_NAME\}\} to new \{\{Autres
projets|commons=PAGE\_NAME\}\} or to update an existing \{\{autres projets\}\}
\* When \{\{Commonscat\}\} and \{\{Autres projets|commons=PAGE\_NAME\}\} exist
on a page, remove the first and update the second.
Thanks,
======
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8356, 2010/07/13, 18:25:51\)
Python 2.6.5+ \(release26-maint, Jul 6 2010, 14:48:45\)
\[GCC 4.4.4\]
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=55188
Web browser: ---
Bug ID: 55188
Summary: pagefromfile -nocontent and redirect bug
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/1480/
Reported by: reza1615
Created on: 2012-06-30 13:46:00
Subject: pagefromfile -nocontent and redirect bug
Original description:
in pagefromfile.py -nocontent doesn't support all cases. is it possible to add
other argument that support regexs \(for example -regexecceptions\)?
also it doesn't support redirect pages. if page name is redirection it shows
error
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55083
Web browser: ---
Bug ID: 55083
Summary: Commonscat.py should update all wikies at once
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/206/
Reported by: mga73
Created on: 2009-05-26 19:53:13
Subject: Commonscat.py should update all wikies at once
Original description:
Interwiki.py update interwikilinks on all wikies at the same time. It would be
a greate help if Commonscat.py did the same.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58814
Web browser: ---
Bug ID: 58814
Summary: PYWP-19 Request for weblinkchecker.py compatibility
with catscan
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-19.
Summary: Request for weblinkchecker.py compatibility with catscan
Issue type: New Feature - A new feature of the product, which has yet to be
developed.
Priority: Major
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Tue, 17 Jan 2012 04:36:12, Jeff G. <jeff-wmj(a)usclec.net> opened the
following bug:
> "How can i find reported dead links for a subject area using catscan
> (e.g. template, category inserted) ?" per
> http://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/PhuzBot
> as posted in edit
> http://en.wikipedia.org/w/index.php?title=Wikipedia:Bots/Requests_for_appro…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58813
Web browser: ---
Bug ID: 58813
Summary: PYWP-20 Have weblinkchecker.py change a URL that has
been permanently moved to the updated URL
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-20.
Summary: Have weblinkchecker.py change a URL that has been permanently moved to
the updated URL
Issue type: New Feature - A new feature of the product, which has yet to be
developed.
Priority: Major
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Tue, 17 Jan 2012 04:43:26, Jeff G. <jeff-wmj(a)usclec.net> opened the
following bug:
> "How will the bot respond to a page that has been permanently moved?
> It would be better for us to get the updated URL for the live page
> (if possible) than to point to an archived copy." per
> http://en.wikipedia.org/wiki/Wikipedia_talk:External_links/Archive_29#Web_L…
> as posted in edit
> http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:External_links&dif…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58812
Web browser: ---
Bug ID: 58812
Summary: PYWP-21 Have weblinkchecker.py optionally crawl every
page querying prop=extlinks instead of downloading the
page text
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-21.
Summary: Have weblinkchecker.py optionally crawl every page querying
prop=extlinks instead of downloading the page text
Issue type: New Feature - A new feature of the product, which has yet to be
developed.
Priority: Major
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Tue, 17 Jan 2012 04:48:15, Jeff G. <jeff-wmj(a)usclec.net> opened the
following bug:
> Could it be "modified to crawl every page querying prop=extlinks
> instead of downloading the page text"? per
> http://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/JeffGBot
> as posted in edit
> http://en.wikipedia.org/w/index.php?title=Wikipedia:Bots/Requests_for_appro…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58811
Web browser: ---
Bug ID: 58811
Summary: PYWP-22 Have weblinkchecker.py operate from a database
dump or a toolserver query
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-22.
Summary: Have weblinkchecker.py operate from a database dump or a toolserver
query
Issue type: New Feature - A new feature of the product, which has yet to be
developed.
Priority: Major
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Tue, 17 Jan 2012 04:50:27, Jeff G. <jeff-wmj(a)usclec.net> opened the
following bug:
> Could it be "done from a database dump or a toolserver query"? per
> http://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/JeffGBot
> as posted in edit
> http://en.wikipedia.org/w/index.php?title=Wikipedia:Bots/Requests_for_appro…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70241
Bug ID: 70241
Summary: Exception on saving an item page
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: CommodoreFabianus(a)gmx.de
Web browser: ---
Mobile Platform: ---
When I try to save a wikidata item the following exception occurs:
>>> import pywikibot
>>> d = pywikibot.getSite('test', 'wikidata').data_repository()
>>> i = pywikibot.page.ItemPage(d, 'Q6')
>>> i.save()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pywikibot/tools.py", line 310, in wrapper
return method(*__args, **__kw)
File "pywikibot/page.py", line 953, in save
if not force and not self.botMayEdit():
File "pywikibot/page.py", line 882, in botMayEdit
templates = self.templatesWithParams()
File "pywikibot/tools.py", line 310, in wrapper
return method(*__args, **__kw)
File "pywikibot/page.py", line 1256, in templatesWithParams
templates = textlib.extract_templates_and_params(self.text)
File "pywikibot/textlib.py", line 924, in extract_templates_and_params
return extract_templates_and_params_regex(text)
File "pywikibot/textlib.py", line 944, in extract_templates_and_params_regex
thistxt = removeDisabledParts(text)
File "pywikibot/textlib.py", line 294, in removeDisabledParts
return toRemoveR.sub('', text)
TypeError: expected string or buffer
>>> type(i.text)
<type 'dict'>
--
You are receiving this mail because:
You are the assignee for the bug.