Bugs item #3474195, was opened at 2012-01-15 08:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474195&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: category
Group: None
Status: Open
Resolution: None
>Priority: 3
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py mistakenty removes not affected categories
Initial Comment:
Pywikipedia trunk/pywikipedia/ (r9826, 2011/10/30, 15:03:29)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
I found some categories removed on template which are not affected by the command line:
category.py remove -from:Kategorie:Vorlage:mit_Einzelnachweisen
Here is a sample: http://de.wikipedia.org/w/index.php?title=Vorlage%3AInfobox_Gemeindeverband…
cosmetic_changes was switched off.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-01-15 11:47
Message:
I changed the behavour of catlib.change_category(). Categories of templates
always are always replaced by wikipedia.replaceCategoryInPlace() rather
than by wikipedia.replaceCategoryLinks().
The bug ist still remainig for some circumstances: Page.categories() gives
categories via api whereas replaceCategoryLinks() works like
wikipedia.getCategoryLinks() which is quite different.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474195&group_…
Bugs item #3474222, was opened at 2012-01-15 10:36
Message generated for change (Tracker Item Submitted) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474222&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Merlijn S. van Deen (valhallasw)
Assigned to: Nobody/Anonymous (nobody)
Summary: put_async should support all put parameters
Initial Comment:
http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-December/007048.html
"""
Page has this method:
def put_async(self, newtext,
comment=None, watchArticle=None, minorEdit=True, force=False,
It says: All arguments are the same as for .put(), except callback:
But three of the parameters of Page.put is missing: sysop=False, botflag=True, maxTries=-1.
"""
The queue currently uses (page, parm1, parm2, ...) tuples, which are not practical. This should be changed to, for instance, (page, args, kwargs), so that page.put() can be called using page.put(*args, **kwargs).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474222&group_…
Bugs item #3474219, was opened at 2012-01-15 10:30
Message generated for change (Tracker Item Submitted) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474219&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Merlijn S. van Deen (valhallasw)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py configuration for plwiktionary
Initial Comment:
http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-May/006802.html
Since Interwicket stopped on wiktionaries, plwiktionary has not a fix interwiki bot. They want the iwikis added at the top of the page, but without creating new lines after the links. Pywikipedia does exactly the opposite, it creates these "new lines". It would be good if someone make a code to change that.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474219&group_…
Bugs item #3474217, was opened at 2012-01-15 10:26
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474217&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to block IPs
Initial Comment:
see http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007034.html and http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007040.html
amir@nightshade:~$ python blockips.py
User name '1.161.100.110' is invalid. IP addresses are not supported.
Traceback (most recent call last):
File "blockips.py", line 23, in <module>
user.block(expiry="one year",reason="{{پروکسی باز}}",anon=True)
File "/home/amir/userlib.py", line 383, in block
if self.isBlocked() and not reBlock:
File "/home/amir/userlib.py", line 121, in isBlocked
self._load()
File "/home/amir/userlib.py", line 96, in _load
getall(self.site(), [self], force=True)
File "/home/amir/userlib.py", line 540, in getall
_GetAllUI(site, users, throttle, force).run()
File "/home/amir/userlib.py", line 559, in run
data = self.getData()
File "/home/amir/userlib.py", line 595, in getData
raise InvalidUser("User name '%s' is invalid. IP addresses are not
supported." % user['name'])
userlib.InvalidUser: User name '1.161.100.110' is invalid. IP
addresses are not supported.
My code is:
import re
import wikipedia, userlib
import query, config, codecs
f=codecs.open(u"ipblock.txt",u"r",u"utf-8")
aaa=f.read()
f.close()
rr=re.compile(u"\[\[(.+?)\]\]")
site=wikipedia.getSite()
for username in rr.findall(aaa):
if u"." in username:
user=userlib.User(site,username)
user.block(expiry="one year",reason="{{پروکسی باز}}",anon=True)
A possible solution was suggested by Pedro Sanchez ( see http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007040.html ).
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-01-15 10:29
Message:
Being able to submit bugs without being logged in is inconvenient.
Anyway, relevant other bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=2929350&group_id=9…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474217&group_…
Bugs item #3474217, was opened at 2012-01-15 10:26
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474217&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to block IPs
Initial Comment:
see http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007034.html and http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007040.html
amir@nightshade:~$ python blockips.py
User name '1.161.100.110' is invalid. IP addresses are not supported.
Traceback (most recent call last):
File "blockips.py", line 23, in <module>
user.block(expiry="one year",reason="{{پروکسی باز}}",anon=True)
File "/home/amir/userlib.py", line 383, in block
if self.isBlocked() and not reBlock:
File "/home/amir/userlib.py", line 121, in isBlocked
self._load()
File "/home/amir/userlib.py", line 96, in _load
getall(self.site(), [self], force=True)
File "/home/amir/userlib.py", line 540, in getall
_GetAllUI(site, users, throttle, force).run()
File "/home/amir/userlib.py", line 559, in run
data = self.getData()
File "/home/amir/userlib.py", line 595, in getData
raise InvalidUser("User name '%s' is invalid. IP addresses are not
supported." % user['name'])
userlib.InvalidUser: User name '1.161.100.110' is invalid. IP
addresses are not supported.
My code is:
import re
import wikipedia, userlib
import query, config, codecs
f=codecs.open(u"ipblock.txt",u"r",u"utf-8")
aaa=f.read()
f.close()
rr=re.compile(u"\[\[(.+?)\]\]")
site=wikipedia.getSite()
for username in rr.findall(aaa):
if u"." in username:
user=userlib.User(site,username)
user.block(expiry="one year",reason="{{پروکسی باز}}",anon=True)
A possible solution was suggested by Pedro Sanchez ( see http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-November/007040.html ).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474217&group_…
Bugs item #3473828, was opened at 2012-01-14 09:37
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3473828&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: GanZ (ganz-ru)
>Assigned to: xqt (xqt)
Summary: cosmetic_changes.py and <code>
Initial Comment:
Here:
http://ru.wikipedia.org/w/index.php?diff=40245627&oldid=39731202http://ru.wikipedia.org/w/index.php?diff=40765267&oldid=39425330
cosmetic_changes.py replaced the internal internal html-text of <code>...</code> with unicode symbols. That's not good, since the tag <code> is for an original representation of codes, including the html-code. So, I propose to add this tag to the elist of exceptions.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3473828&group_…
Bugs item #3474195, was opened at 2012-01-15 08:26
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474195&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: category
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py mistakenty removes not affected categories
Initial Comment:
Pywikipedia trunk/pywikipedia/ (r9826, 2011/10/30, 15:03:29)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
I found some categories removed on template which are not affected by the command line:
category.py remove -from:Kategorie:Vorlage:mit_Einzelnachweisen
Here is a sample: http://de.wikipedia.org/w/index.php?title=Vorlage%3AInfobox_Gemeindeverband…
cosmetic_changes was switched off.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474195&group_…
Bugs item #3474169, was opened at 2012-01-15 05:09
Message generated for change (Comment added) made by crochet_david
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474169&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: outdated family for ja.wikiversity
Initial Comment:
WARNING: Outdated family file wikiversity: namespace['ja'][3] is '利用者‐会話', but should be '利用者・トーク'
dcrochet@dcrochet-desktop:~/Robots/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: David Crochet (crochet_david)
Date: 2012-01-15 05:10
Message:
soory
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474169&group_…
Bugs item #3474169, was opened at 2012-01-15 05:09
Message generated for change (Tracker Item Submitted) made by crochet_david
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474169&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: outdated family for ja.wikiversity
Initial Comment:
WARNING: Outdated family file wikiversity: namespace['ja'][3] is '利用者‐会話', but should be '利用者・トーク'
dcrochet@dcrochet-desktop:~/Robots/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474169&group_…
Bugs item #3474164, was opened at 2012-01-15 04:31
Message generated for change (Tracker Item Submitted) made by crochet_david
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474164&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: outdated family for ja.wikiversity
Initial Comment:
WARNING: Outdated family file wikiversity: namespace['ja'][3] is '利用者‐会話', but should be '利用者・トーク'
dcrochet@dcrochet-desktop:~/Robots/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3474164&group_…