Patches item #2971318, was opened at 2010-03-16 16:10
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2971318&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py new fr template for doc subpages
Initial Comment:
fr.wiki has another template for pages with doc pages {{Doc_modèle}}. patch attached.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2971318&group_…
Feature Requests item #2964102, was opened at 2010-03-05 10:07
Message generated for change (Comment added) made by fraser13
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&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: p858snake (p858snake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support the use of Assert Edit
Initial Comment:
It would be nice if the use of the Assert Edit[1] extension was supported by the framework, Because for the wikis it is depolyed on (All WMF wikis) it would prevent bots from editing unlogged inif they choose to have it assert its edits.
[1]. http://www.mediawiki.org/wiki/Extension:Assert_Edit
----------------------------------------------------------------------
Comment By: Fraser (fraser13)
Date: 2010-03-16 13:29
Message:
It is now bot policy on en.wikipedia that bots which are known to edit
while logged out should have an assert edit, or a function which does the
same thing, added to them.
As to the time issue, this is simply however often it is required to make
sure that the bot doesn't edit while logged out. Which is probably every
edit for bots which have a history of logging themselves out.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-03-09 19:10
Message:
Now implemented in the rewrite branch only; using assert=user rather than
assert=bot because some wikis may permit use of the framework without a bot
flag. Probably this should be configurable on a per-wiki basis, but it's a
start.
----------------------------------------------------------------------
Comment By: p858snake (p858snake)
Date: 2010-03-07 22:46
Message:
Time? all the asserting does is add something like "&assert=bot" to the end
of the address and it returns to the bot interface if it has the right or
not, and it should check every edit.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-07 21:48
Message:
What checking period does the BAG propose? Every start? Every five minutes?
Every hour? Every edit, every 10, every 100?
----------------------------------------------------------------------
Comment By: Josh Parris (joshparris)
Date: 2010-03-06 13:38
Message:
The en Bot Approval Group is considering this as a future requirement for
bots
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Feature Requests item #2971233, was opened at 2010-03-16 12:19
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2971233&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: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: message change
Initial Comment:
After last changes in framwork there is message:
Getting XX pages from wikipedia NN via API...
it would be more friendly when the language code is in the end like it was before
Getting XX pages via API from wikipedia NN
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2971233&group_…
Bugs item #2971196, was opened at 2010-03-16 11:55
Message generated for change (Tracker Item Submitted) made by quistnix
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2971196&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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Anton (quistnix)
Assigned to: Nobody/Anonymous (nobody)
Summary: correct interwikilinks are being deleted
Initial Comment:
Since a couple of days interwiki.py is deleting correct interwikilinks. It hasn't done that for a long time, so something must have changed about three days ago.
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2971196&group_…
Bugs item #2970545, was opened at 2010-03-15 10:46
Message generated for change (Comment added) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&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: masti (masti01)
Assigned to: xqt (xqt)
Summary: wikipedia.py - oneDoneAPI further errors
Initial Comment:
it looks that there are some more erros in thin function. After fixing problems with editRestriction variables in # 2970417 other variables generate simmilar error:
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4036, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3911, in oneDoneApi
page2._permalink = revisionId
UnboundLocalError: local variable 'revisionId' referenced before assignment
local variable 'revisionId' referenced before assignment
when I fixed that other appear:
Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4037, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3913, in oneDoneApi
page2._userName = username
UnboundLocalError: local variable 'username' referenced before assignment
local variable 'username' referenced before assignment
I think all of this is generate due to the fact that when an exceptio occurs there is no action and the procedure contiunues without variables beein set. So the real problem is in line 3887:
except KeyError:
pass
I think instead of pass the procedure should return.
----------------------------------------------------------------------
Comment By: masti (masti01)
Date: 2010-03-15 20:49
Message:
I've submitted a patch for that #2970823
star line for pl.wikipedia is:
python weblinkchecker.py -talk -namespace:0 -start:"Lista obserwatoriów
astronomicznych"
it crashed on this article.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-15 19:49
Message:
you're right. Could you give me the command line you have used? I would
like to examine the reason why this exception occurs. thx.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&group_…
Patches item #2970823, was opened at 2010-03-15 20:46
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2970823&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for #2970545
Initial Comment:
changed pass to return
seems to be working :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2970823&group_…
Bugs item #2970545, was opened at 2010-03-15 10:46
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&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: masti (masti01)
>Assigned to: xqt (xqt)
Summary: wikipedia.py - oneDoneAPI further errors
Initial Comment:
it looks that there are some more erros in thin function. After fixing problems with editRestriction variables in # 2970417 other variables generate simmilar error:
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4036, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3911, in oneDoneApi
page2._permalink = revisionId
UnboundLocalError: local variable 'revisionId' referenced before assignment
local variable 'revisionId' referenced before assignment
when I fixed that other appear:
Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4037, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3913, in oneDoneApi
page2._userName = username
UnboundLocalError: local variable 'username' referenced before assignment
local variable 'username' referenced before assignment
I think all of this is generate due to the fact that when an exceptio occurs there is no action and the procedure contiunues without variables beein set. So the real problem is in line 3887:
except KeyError:
pass
I think instead of pass the procedure should return.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-15 19:49
Message:
you're right. Could you give me the command line you have used? I would
like to examine the reason why this exception occurs. thx.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&group_…
Bugs item #2970264, was opened at 2010-03-14 15:37
Message generated for change (Settings changed) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970264&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: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Merlijn S. van Deen (valhallasw)
Summary: Unable to check blocks on IP
Initial Comment:
I have code to check blocks on users or IPs using userlib.py
Since r7979, userlib raises an exception when I try to check blocks on IPs.
Please allow this behavior again.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-15 14:11
Message:
No problem at all, and thanks for the report anyway :-). For future
reference, the change was as follows:
valhallasw@dorthonion:~/tmp$ svn diff -r 98:112
https://svn.toolserver.org/svnroot/nakor/almabot/unblock.py
Index: unblock.py
===================================================================
--- unblock.py (revision 98)
+++ unblock.py (revision 112)
@@ -66,7 +66,7 @@
user=userlib.User(site,username)
try:
blocked=user.isBlocked()
- except KeyError:
+ except userlib.InvalidUser:
params = {
'action' :'query',
'list' :'blocks',
Closing as invalid.
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2010-03-15 04:09
Message:
Nevermind. I was tired. It is just the exception type that changed. You can
close.
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2010-03-15 03:59
Message:
The script at https://svn.toolserver.org/svnroot/nakor/almabot/unblock.py
is broken since tat change.
Please either revert that change or provide a way to check blocks on IP
adresses.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-14 23:05
Message:
if u'invalid' in user:
raise InvalidUser("User name '%s' is invalid. IP addresses
are not supported." % user['name'])
This is not a bug, this is correct behaviour. Could the reporter please
show how sensible data is found?
Closing as 'invalid' in two weeks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970264&group_…
Bugs item #2970545, was opened at 2010-03-15 10:46
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.py - oneDoneAPI further errors
Initial Comment:
it looks that there are some more erros in thin function. After fixing problems with editRestriction variables in # 2970417 other variables generate simmilar error:
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4036, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3911, in oneDoneApi
page2._permalink = revisionId
UnboundLocalError: local variable 'revisionId' referenced before assignment
local variable 'revisionId' referenced before assignment
when I fixed that other appear:
Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4037, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3913, in oneDoneApi
page2._userName = username
UnboundLocalError: local variable 'username' referenced before assignment
local variable 'username' referenced before assignment
I think all of this is generate due to the fact that when an exceptio occurs there is no action and the procedure contiunues without variables beein set. So the real problem is in line 3887:
except KeyError:
pass
I think instead of pass the procedure should return.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970545&group_…