https://bugzilla.wikimedia.org/show_bug.cgi?id=59687
Web browser: ---
Bug ID: 59687
Summary: fixing_redirects.py: use more efficient querying
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: ---
Instead of getting the full page text of all linked pages, we can just ask the
API about redirects, e.g.:
https://en.wikipedia.org/w/api.php?action=query&generator=links&titles=Ani_…
Add Comment
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58601
Web browser: ---
Bug ID: 58601
Summary: casechecker.py uses non-standard functions
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: ---
casechecker.py:
- calls the API directly instead of going through Page or Site objects;
- has it's own colorizing code
- has it's own logging/output layer
It should really be rewritten to work using the normal pywikibot functions...
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55213
Web browser: ---
Bug ID: 55213
Summary: Commonscat.py puts template in wrong location
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/1409/
Reported by: hiw
Created on: 2012-02-19 21:47:02
Subject: Commonscat.py puts template in wrong location
Original description:
http://en.wikipedia.org/w/index.php?title=%27Asir\_Province&diff=prev&oldid…
Template should be placed under external links or last section of the page
Pywikipedia trunk/pywikipedia/ \(r9911, 2011/03/13, 10:14:47\)
Python 2.7.2 \(default, Jun 24 2011, 12:21:10\) \[MSC v.1500 32 bit \(Intel\)\]
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=57180
Web browser: ---
Bug ID: 57180
Summary: commons_link.py - position of template
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
commons_link.py should add {{commons(cat)}} to specified position on page, like
noreferences.py does.
There should be list of preferred sections for each language.
== Section ==
* {{Commonscat|foo}}.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55062
Web browser: ---
Bug ID: 55062
Summary: Add video encoding to flickrripper.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
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/257/
Reported by: multichill
Created on: 2010-07-13 18:09:00
Subject: Add video encoding to flickrripper.py
Assigned to: multichill
Original description:
For video's like for example
http://www.flickr.com/photos/boryskozielski/4779935766/in/pool-1336393@N24/
This is so that I don't forget it. Feel free to "steal" this bug ;-\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55059
Web browser: ---
Bug ID: 55059
Summary: Introducing "more" in replace.py
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/260/
Reported by: binbot
Created on: 2010-08-24 09:32:57
Subject: Introducing "more" in replace.py
Original description:
In solve\_sisambiguation.py I can use "more" option to see a wider environment
of the selected text. Repeating this, I see more and more of the text.
Would it be possible to implement this useful option in replace.py, too?
Sometimes I need it very much, when the text is in a short line.
I can open the article in editor or browser, but it is too slow, and not always
necessary. Pressing "m" as in solve\_sisambiguation.py would be much faster.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55108
Web browser: ---
Bug ID: 55108
Summary: template.py -remove end of line
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/111/
Reported by: multichill
Created on: 2007-09-27 11:49:21
Subject: template.py -remove end of line
Original description:
When running template.py -remove <template> i noticed that the template
is removed but not the end of line leaving some extra unneeded whitespace. For
example:
http://nl.wikipedia.org/w/index.php?title=Aleksandr\_Chalifman&diff=prev&ol…http://nl.wikipedia.org/w/index.php?title=Bent\_Larsen&diff=prev&oldid=9528…
It would be nice if the only thing on a a line is
\{\{<template>\}\}
and the template is removed that also the end of line is removed.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58639
Web browser: ---
Bug ID: 58639
Summary: category_redirect.py
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: category.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: zaher.kadour(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
I run the category_redirect.py but when the category redirect to itself, the
bot remove this category form all pages.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55203
Web browser: ---
Bug ID: 55203
Summary: Unicode error on print statment
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/1430/
Reported by: Anonymous user
Created on: 2012-04-04 15:09:48
Subject: Unicode error on print statment
Original description:
I'm having an unicode error on print statments, when printing chars like "é",
"ê" and similars. It works fine on my lap, and on ts willows, but occours on
longruns jobs. The script is a fork of
http://code.google.com/p/avbot/source/browse/\#svn%2Ftrunk with some minor
changes wich has no impact on the print elements. The output for the article
\[\[Política do café com leite\]\] is:
Unhandled exception in thread started by <function editAnalysis at
0x85b88b4>
Traceback \(most recent call last\):
File "/home/alchimista/aleph/avbotanalysis.py", line 681, in editAnalysis
\[reverted, editData\]=mustBeReverted\(editData, cleandata,
editData\['userClass'\]\)
File "/home/alchimista/aleph/avbotanalysis.py", line 428, in mustBeReverted
return revertAllEditsByUser\(editData, userClass, regexplist\) \#Revert
File "/home/alchimista/aleph/avbotanalysis.py", line 250, in
revertAllEditsByUser
editData=sameOldid\(editData\)
File "/home/alchimista/aleph/avbotanalysis.py", line 113, in sameOldid
print 4, editData\['pageTitle'\], time.time\(\)-t1
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 3:
ordinal not in range\(128\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55014
Web browser: ---
Bug ID: 55014
Summary: Let bots use canonical namespaces
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/332/
Reported by: pathoschild
Created on: 2013-02-23 02:45:38
Subject: Let bots use canonical namespaces
Original description:
Let bots use canonical namespaces instead of translations from the family
files. This is useful for crosswiki bots, where invalid namespace names may not
be detected by the operator \(most recently \[1\]\[2\]\).
The attached patch implements this by adding an optional constructor argument
to Page. For example, the current behaviour is unchanged:
ns = wikipedia.Page\(site, title\).namespaceName\(\) \# Utilisateur:Pathoschild
But a constructor argument enables canonical namespaces:
ns = wikipedia.Page\(site, title, translateNamespace=False\).namespaceName\(\)
\# User:Pathoschild
\[1\]
http://meta.wikimedia.org/wiki/User\_talk:Pathoschild?oldid=5269904\#Probl.…
\[2\]
http://meta.wikimedia.org/wiki/User\_talk:Pathoschild?oldid=5269904\#Polish…
--
You are receiving this mail because:
You are the assignee for the bug.