Support Requests item #3546758, was opened at 2012-07-21 09:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3546758&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
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: adding template:coord to cosmetic_changes
Initial Comment:
please add possibility for cosmetic_changes.py to move template:coord which cases have display=title option
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-07-22 07:30
Message:
Could you give me a sample
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3546758&group_…
Bugs item #3474217, was opened at 2012-01-15 10:26
Message generated for change (Comment added) 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 ).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-07-22 01:05
Message:
9QmZJx <a href="http://jiungffspnad.com/">jiungffspnad</a>,
[url=http://dwittrsspbee.com/]dwittrsspbee[/url],
[link=http://cifxeposdadq.com/]cifxeposdadq[/link],
http://vgusxcinxcao.com/
----------------------------------------------------------------------
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_…