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=65987
Bug ID: 65987
Summary: [Tracking] Functionality existing in AutoWikiBrowser
but missing from core
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: ricordisamoa(a)openmailbox.org
Web browser: ---
Mobile Platform: ---
per http://lists.wikimedia.org/pipermail/pywikipedia-l/2014-June/008758.html,
as bug 55880, but for AWB.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64845
Bug ID: 64845
Summary: Port commons_category_redirect.py to core
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
CC: maarten(a)mdammers.nl
Blocks: 55880
Web browser: ---
Mobile Platform: ---
Script to clean up
http://commons.wikimedia.org/wiki/Category:Non-empty_category_redirects
Moves all images, pages and categories in redirect categories to the target
category.
--
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=68663
Bug ID: 68663
Summary: misspelling doesnt quit on user input 'q'
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: ---
misspelling uses solve_disambiguation, which asks for user input and offers a
quit option. solve_disambiguation quits when 'q' is entered. misspelling does
not.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67488
Bug ID: 67488
Summary: Cache broken with non-ascii username/user namespace
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
CC: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Reported on IRC.
Password for user UserBot on mywiki:ar (no characters will be shown):
Logging in to mywiki:ar as UserBot
Could not load cache: UnicodeDecodeError('ascii', 'Site("ar",
"mywiki")User(\xd9\x85\xd8\xb3\xd8\xaa\xd8\xae\xd8\xaf\xd9\x85:UserBot)[(\'action\',
\'paraminfo\'), (\'format\', \'json\'), (\'maxlag\', \'5\'), (\'querymodules\',
\'info|revisions\')]', 31, 32, 'ordinal not in range(128)')
Traceback (most recent call last):
File "pwb.py", line 153, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/pagefromfile.py", line 274, in <module>
main()
File "scripts/pagefromfile.py", line 271, in main
bot.run()
File "scripts/pagefromfile.py", line 85, in run
self.save(title, contents)
File "scripts/pagefromfile.py", line 141, in save
page.save(comment, minor=self.getOption('minor'))
File "/Users/user/shell/core/pywikibot/__init__.py", line 423, in wrapper
return method(*__args, **__kw)
File "/Users/user/shell/core/pywikibot/page.py", line 886, in save
**kwargs)
File "/Users/user/shell/core/pywikibot/page.py", line 896, in _save
watch=watchval, bot=botflag, **kwargs)
File "/Users/user/shell/core/pywikibot/site.py", line 557, in callee
return fn(self, *args, **kwargs)
File "/Users/user/shell/core/pywikibot/site.py", line 2787, in editpage
lastrev = page.latestRevision()
File "/Users/user/shell/core/pywikibot/page.py", line 364, in latestRevision
self.site.loadrevisions(self)
File "/Users/user/shell/core/pywikibot/site.py", line 1922, in loadrevisions
step=step, total=total, **rvargs)
File "/Users/user/shell/core/pywikibot/site.py", line 693, in _generator
gen = gen_class(type_arg, site=self, **args)
File "/Users/user/shell/core/pywikibot/data/api.py", line 885, in __init__
QueryGenerator.__init__(self, prop=prop, **kwargs)
File "/Users/user/shell/core/pywikibot/data/api.py", line 560, in __init__
self.update_limit() # sets self.prefix
File "/Users/user/shell/core/pywikibot/data/api.py", line 654, in
update_limit
for param in self._modules[mod].get("parameters", []):
File "/Users/user/shell/core/pywikibot/data/api.py", line 604, in _modules
data = paramreq.submit()
File "/Users/user/shell/core/pywikibot/data/api.py", line 510, in submit
self._write_cache(self._data)
File "/Users/user/shell/core/pywikibot/data/api.py", line 503, in
_write_cache
with open(self._cachefile_path(), 'wb') as f:
File "/Users/user/shell/core/pywikibot/data/api.py", line 478, in
_cachefile_path
return os.path.join(self._get_cache_dir(), self._create_file_name())
File "/Users/user/shell/core/pywikibot/data/api.py", line 474, in
_create_file_name
self._uniquedescriptionstr().encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd9 in position 31:
ordinal not in range(128)
<type 'exceptions.UnicodeDecodeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
We should add a test with a non-ascii username/namespace (or we should just
test on arwiki instead of enwiki :-p)
--
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55055
Web browser: ---
Bug ID: 55055
Summary: category.py add
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/272/
Reported by: jandudik
Created on: 2010-10-29 07:30:13
Subject: category.py add
Original description:
It would be useful if -to: option is possible not only for "move" but also for
"add"
category.py add -links:Foo -to:Foo\_Category
--
You are receiving this mail because:
You are the assignee for the bug.