Bugs item #2965155, was opened at 2010-03-07 22:39
Message generated for change (Tracker Item Submitted) made by paleozavr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965155&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: aindrij Bondarenko (paleozavr)
Assigned to: Nobody/Anonymous (nobody)
Summary: imagetransfer.py does not work
Initial Comment:
This text it writes instead of working
C:\bot3>imagetransfer.py -fromlang:en -tolang:uk
C:\bot3\imagetransfer.py:32: DeprecationWarning: the md5 module is deprecated; u
se hashlib instead
import re, sys, md5, urllib
Traceback (most recent call last):
File "C:\bot3\imagetransfer.py", line 310, in <module>
main()
File "C:\bot3\imagetransfer.py", line 306, in main
bot.run()
File "C:\bot3\imagetransfer.py", line 235, in run
imagelist = page.imagelinks(followRedirects = True)
File "C:\bot3\wikipedia.py", line 2262, in imagelinks
for page in self.linkedPages(withImageLinks = True):
File "C:\bot3\wikipedia.py", line 2209, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "C:\bot3\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = t
hrottle, sysop = sysop)
File "C:\bot3\wikipedia.py", line 692, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page does not
exist. In rare cases, if you are certain the page does exist, look into overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:uk, u'[[uk:-fromlang:en]]', 'Page does n
ot exist. In rare cases, if you are certain the page does exist, look into overr
iding family.RversionTab')
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965155&group_…
Bugs item #2965028, was opened at 2010-03-07 14:04
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&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: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: fi interwiki on templates
Initial Comment:
I was informed that on fi.wikipedia interwiki for templates should not be put on template page itself like http://fi.wikipedia.org/w/index.php?title=Malline%3ALentoasema&action=histo… but on template metapage.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&group_…
Bugs item #2960436, was opened at 2010-02-28 00:26
Message generated for change (Comment added) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&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: 5
Private: No
Submitted By: masti (masti01)
Assigned to: xqt (xqt)
Summary: interwiki does not resume with -continue
Initial Comment:
While running interwiki.py when an interwiki dump file does not exists the script properly saves it and you can use -continue option to restart. When it exists it will not be saved and the bot restarts using old interwiki dump so when the previous run has started.
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7972, 2010/02/27, 10:13:26)
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
----------------------------------------------------------------------
Comment By: masti (masti01)
Date: 2010-03-06 23:14
Message:
No, it starts from the first line of dump, which was processed long time
ago. In my example when a bot was editing pages beginnig with "R" and dump
file entries where from J to R, with -continue it started from J.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-04 06:51
Message:
When a dumpfile still exists the dumpf will be saved to the existing one
and the bot takes the alphabetical last pages to -continue. This could
cause to continue like a previous run after processing all pages above.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&group_…
Feature Requests item #2964102, was opened at 2010-03-05 21:07
Message generated for change (Comment added) made by joshparris
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: Josh Parris (joshparris)
Date: 2010-03-07 00: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_…
Bugs item #2963459, was opened at 2010-03-04 16:14
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: update disambig templates
Initial Comment:
Please add another disambig template for br.wiki and remove wrong disambig template for la.wiki. In la.wiki, 'disambig' template is actually used not to mark disambigs but to make a link to a disambig page (like 'other uses'). This confusion causes bots misbehaviour and leads to blocks.
'br': [u'Hvlstumm', u'Digejañ', u'Digejañ anvioù-badez',
- u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud'],
+ u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud', u'Disheñvelout'],
- 'la': [u'Discretiva', u'Disnomen', u'Disambig'],
+ 'la': [u'Discretiva', u'Disnomen'],
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-06 13:48
Message:
done in r7981
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&group_…
Bugs item #2963405, was opened at 2010-03-04 15:02
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: addinfourl instance has no attribute 'status'
Initial Comment:
% python version.py
Pywikipedia [http] trunk/pywikipedia (r7976, 2010/03/04, 05:43:35)
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)]
Connecting to Memory Alpha (MediaWiki v1.15.1)
-----
I see that a similar bug was fixed back in Nov/09 (#2893541)
Traceback (most recent call last):
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 7701, in async_put
page.put(newtext, comment, watchArticle, minorEdit, force)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1599, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1631, in _putPage
newPage, token, newToken, sysop, captcha, botflag, maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 2084, in _putPageOld
if response.status != 302 and data.strip() != u"":
AttributeError: addinfourl instance has no attribute 'status'
The fix for this is as follows:
Index: wikipedia.py
===================================================================
--- wikipedia.py (revision 7976)
+++ wikipedia.py (working copy)
@@ -2081,7 +2081,7 @@
return self._putPageOld(text, comment, watchArticle, minorEdit, newPage, token, newToken, sysop, captcha=solve)
# We are expecting a 302 to the action=view page. I'm not sure why this was removed in r5019
- if response.status != 302 and data.strip() != u"":
+ if response.code != 302 and data.strip() != u"":
# Something went wrong, and we don't know what. Show the
# HTML code that hopefully includes some error message.
output(u"ERROR: Unexpected response from wiki server.")
-----
That solves the issue for you.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-06 11:45
Message:
fıxed in r7980
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&group_…
Bugs item #2929350, was opened at 2010-01-10 17:41
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.py
Initial Comment:
try to block a user with :
badUser = userlib.User(site=self.mySite, name="123.123.123.123")
badUser.block(expiry="2 hours", reason="did bad things", noCreate=True, onAutoblock=True, allowUsertalk=False)
You will get an KeyError. This is a patch for solving the problem.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-06 00:40
Message:
The API does not allow IP users. Please re-open when this changes.
userlib.py rr7979 now throws an exception when IP users are used.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-05 23:48
Message:
Moved to 'bugs'. The proposed solution merely hides the problem instead of
solving it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&group_…
Bugs item #2929350, was opened at 2010-01-10 17:41
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.py
Initial Comment:
try to block a user with :
badUser = userlib.User(site=self.mySite, name="123.123.123.123")
badUser.block(expiry="2 hours", reason="did bad things", noCreate=True, onAutoblock=True, allowUsertalk=False)
You will get an KeyError. This is a patch for solving the problem.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-05 23:48
Message:
Moved to 'bugs'. The proposed solution merely hides the problem instead of
solving it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&group_…
Feature Requests item #2964102, was opened at 2010-03-05 20:07
Message generated for change (Tracker Item Submitted) made by p858snake
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Bugs item #2963459, was opened at 2010-03-04 15:14
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&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: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: update disambig templates
Initial Comment:
Please add another disambig template for br.wiki and remove wrong disambig template for la.wiki. In la.wiki, 'disambig' template is actually used not to mark disambigs but to make a link to a disambig page (like 'other uses'). This confusion causes bots misbehaviour and leads to blocks.
'br': [u'Hvlstumm', u'Digejañ', u'Digejañ anvioù-badez',
- u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud'],
+ u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud', u'Disheñvelout'],
- 'la': [u'Discretiva', u'Disnomen', u'Disambig'],
+ 'la': [u'Discretiva', u'Disnomen'],
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&group_…