Bugs item #3081100, was opened at 2010-10-05 02:53
Message generated for change (Comment added) made by tjmoel
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3081100&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: Remind
Priority: 7
Private: No
Submitted By: Grimlock (grimlockfr)
Assigned to: xqt (xqt)
Summary: Problem with hi characters
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r8602, 2010/10/04, 19:33:48)
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = Tru
My interwiki bot on Wikipedia (using interwiki.py) can not identify correctly the interwiki link to hi, and, as a consequence, the link, which is identified as a bad one, is removed when I use -cleanup option (see here http://fr.wikipedia.org/w/index.php?title=Mark_Zuckerberg&action=historysub… for an example). It appears that one or more characters are misunderstood.
----------------------------------------------------------------------
Comment By: tjmoel (tjmoel)
Date: 2010-10-23 04:34
Message:
Hi, my bot still make the mistakes
http://id.wikipedia.org/w/index.php?title=Archimedes&action=historysubmit&d…
Any idea on how to solve ?? Thanks
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-10-12 14:10
Message:
Some bots are still involved to this bug:
http://de.wikipedia.org/wiki/Spezial:Missbrauchsfilter-Logbuch?title=Spezia…
----------------------------------------------------------------------
Comment By: DJSasso (djsasso)
Date: 2010-10-08 02:02
Message:
Nevermind...I just noticed that you made a change to not remove hi links in
autonomous mode.
----------------------------------------------------------------------
Comment By: DJSasso (djsasso)
Date: 2010-10-08 01:38
Message:
I should note this morning I updated to the most recent build and have not
seen it since. And its been about 6 hours now since then. So it may have
fixed itself in the most recent build. Or I may have just been lucky and
not had any hi links gets mistaken in that time.
----------------------------------------------------------------------
Comment By: DJSasso (djsasso)
Date: 2010-10-08 01:21
Message:
Yeah look at my edits on de. I reverted a bunch of my bots changes.
http://de.wikipedia.org/wiki/Spezial:Beitr%C3%A4ge/Djsasso
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-10-07 23:35
Message:
Most problems came from SassoBot, MastiBot, User:ChuispastonBot,
VolkowBot, see
http://de.wikipedia.org/wiki/Wikipedia:Bots/Notizen#Interwiki-Probleme_mit_…
With actual py version deleting of hi-links is stopped. Well I'll
investigate your hint. Do you have some examples for me.
----------------------------------------------------------------------
Comment By: DJSasso (djsasso)
Date: 2010-10-07 19:26
Message:
In doing some cleanup of my bots edits on one wiki. I have seen atleast 4
other bots doing this recently. So there is clearly an issue somewhere. I
was running the new -cleanup option so maybe that is what causes it.
----------------------------------------------------------------------
Comment By: DJSasso (djsasso)
Date: 2010-10-07 17:33
Message:
It is doing it for me as well. Has been for the last few days, but seeing
as other bot seemed to fix it immediately I didn`t think it was a big issue
or was maybe my machine. So I was trying to figure it out on my own. But if
its happening to others its clearly not just my machine.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-10-05 20:17
Message:
I found this bug this morning but now it works as expected.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3081100&group_…
Patches item #3092870, was opened at 2010-10-22 14:26
Message generated for change (Tracker Item Submitted) made by lankier
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3092870&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: lankier (lankier)
Assigned to: Nobody/Anonymous (nobody)
Summary: non ascii in system messages and max retry
Initial Comment:
This patch fixed two issues:
1. Ubuntu has non ascii in system messages.
Test:
$ sudo ifconfig eth0 down
$ cat test.py
import wikipedia
site = wikipedia.getSite()
page = wikipedia.Page(site, 'S')
text = page.get()
$ LANG=ru_RU.utf8 python test.py
Error downloading data: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128)
Request ru:/w/api.php?inprop=protection%7Ctalkid%7Csubjectid%7Curl%7Creadable&format=json&rvprop=content%7Cids%7Cflags%7Ctimestamp%7Cuser%7Ccomment%7Csize&prop=revisions%7Cinfo&titles=S&rvlimit=1&action=query
Retrying in 1 minutes...
^C
After fix (added "e = unicode(str(e), locale.getpreferredencoding())"):
$ LANG=ru_RU.utf8 python test.py
<urlopen error [Errno 101] Сеть недоступна>
WARNING: Could not open [...]
2. Added raise MaxTriesExceededError when max tries exceeded.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3092870&group_…
Bugs item #3092329, was opened at 2010-10-21 21:26
Message generated for change (Comment added) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3092329&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: Dr. Trigon (drtrigon)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.User.contributions
Initial Comment:
Hello all
This error occured to me during a try to get contributions of user IWorld:
Traceback (most recent call last):
File "sum_disc.py", line 1288, in <module>
main()
File "sum_disc.py", line 1284, in main
bot.run()
File "sum_disc.py", line 341, in run
self.checkRecentEdits()
File "sum_disc.py", line 566, in checkRecentEdits
usersumList = [p[0].title() for p in self._user.contributions(limit = count)]
File "/data/toolserver/pywikipedia/userlib.py", line 299, in contributions
contrib['revid'], ts, contrib['comment']
KeyError: 'comment'
The content of contrib:
{u'pageid': 5698070, u'title': u'Wikipedia:Vandalismusmeldung', u'timestamp': u'2010-10-20T11:58:45Z', u'revid': 80498587, u'user': u'IWorld', u'ns': 4, u'commenthidden': u''}
As you can see the 'comment' item is missing, but a 'commenthidden' is present. I wrote a patch to take this into account. I decided to return an u'' instead of contrib['comment'] in such a case, since in this place an unicode string is expected and thus a None or drop this item is not a good idea.
Please have a look to the attached patch.
Greetings!
----------------------------------------------------------------------
>Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-21 21:27
Message:
Sorry I forgot this info:
Pywikipedia [https] svn.toolserver.org/svnroot/drtrigon/pywikipedia (r40,
2010/10/02, 22:14:39)
Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:31)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3092329&group_…
Bugs item #3092329, was opened at 2010-10-21 21:26
Message generated for change (Tracker Item Submitted) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3092329&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: Dr. Trigon (drtrigon)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.User.contributions
Initial Comment:
Hello all
This error occured to me during a try to get contributions of user IWorld:
Traceback (most recent call last):
File "sum_disc.py", line 1288, in <module>
main()
File "sum_disc.py", line 1284, in main
bot.run()
File "sum_disc.py", line 341, in run
self.checkRecentEdits()
File "sum_disc.py", line 566, in checkRecentEdits
usersumList = [p[0].title() for p in self._user.contributions(limit = count)]
File "/data/toolserver/pywikipedia/userlib.py", line 299, in contributions
contrib['revid'], ts, contrib['comment']
KeyError: 'comment'
The content of contrib:
{u'pageid': 5698070, u'title': u'Wikipedia:Vandalismusmeldung', u'timestamp': u'2010-10-20T11:58:45Z', u'revid': 80498587, u'user': u'IWorld', u'ns': 4, u'commenthidden': u''}
As you can see the 'comment' item is missing, but a 'commenthidden' is present. I wrote a patch to take this into account. I decided to return an u'' instead of contrib['comment'] in such a case, since in this place an unicode string is expected and thus a None or drop this item is not a good idea.
Please have a look to the attached patch.
Greetings!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3092329&group_…
Feature Requests item #3084735, was opened at 2010-10-10 16:51
Message generated for change (Settings changed) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3084735&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
Priority: 5
Private: No
Submitted By: Dr. Trigon (drtrigon)
Assigned to: xqt (xqt)
Summary: Add botlist.py analog to watchlist.py for bot user caching
Initial Comment:
Hello all!
[...]
In the same process I wrote a completely new module
'botlist.py' which is an analogue to 'watchlist.py' not
completely finished, but works and caches all registred
bot from a site once a day. This gives a speed-up for
my bot. May be this can also be committed?
(please look at [1] or [2])
Thanks a lot and greetings!!
DrTrigon
[1] https://fisheye.toolserver.org/browse/drtrigon/pywikipedia/dtbext/dtbext_bo…
[2] https://fisheye.toolserver.org/browse/~raw,r=40/drtrigon/pywikipedia/dtbext…http://lists.wikimedia.org/pipermail/pywikipedia-l/2010-October/006450.htmlhttps://jira.toolserver.org/browse/DRTRIGON-66
----------------------------------------------------------------------
>Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-21 20:41
Message:
Done by xqt - thanks! - in r8682:
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/botlist.py?re…
(tested and it works for me)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-21 10:36
Message:
ping?
(what about the global bot code? is a re-write of the patch needed? any
problems? may I help? - thanks a lot!)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-15 18:56
Message:
I have written some code to enable global bot support. As side effects
'Special:GlobalUsers' had to be added as 'globalusers_address' and some
minor PEP 8 issues were solved.
Please have a look at 'botlist_global.patch' attached.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-10-11 07:25
Message:
Added in r8641 (first step without global bots)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-10 16:54
Message:
As discussion with xqt on #wikipedia-de-bots uncovered the global bots are
not requested since this need a seperate API call. This has also to be
implemented.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3084735&group_…
Feature Requests item #3092224, was opened at 2010-10-21 18:52
Message generated for change (Comment added) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3092224&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: Dr. Trigon (drtrigon)
Assigned to: Nobody/Anonymous (nobody)
Summary: sysop in botlist.py and watchlist.py not used
Initial Comment:
The 'sysop' parameter used in the bot- and watchlist (e.g. in the 'refresh' method) is of NO USE at the moment (in the current code implementation).
This should be solved, thus either:
- remove the 'sysop' parameter
- OR change the code to make use of this parameter
More or less all the 'sysop' code parts were introduced by alexsh (watchlist) and in order to that by xqt and me too (botlist).
Thanks a lot and
Greetings!
----------------------------------------------------------------------
>Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-21 19:12
Message:
Look also at ID: 3084735
https://sourceforge.net/tracker/?func=detail&aid=3084735&group_id=93107&ati…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3092224&group_…
Feature Requests item #3092224, was opened at 2010-10-21 18:52
Message generated for change (Tracker Item Submitted) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3092224&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: Dr. Trigon (drtrigon)
Assigned to: Nobody/Anonymous (nobody)
Summary: sysop in botlist.py and watchlist.py not used
Initial Comment:
The 'sysop' parameter used in the bot- and watchlist (e.g. in the 'refresh' method) is of NO USE at the moment (in the current code implementation).
This should be solved, thus either:
- remove the 'sysop' parameter
- OR change the code to make use of this parameter
More or less all the 'sysop' code parts were introduced by alexsh (watchlist) and in order to that by xqt and me too (botlist).
Thanks a lot and
Greetings!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3092224&group_…
Feature Requests item #3084735, was opened at 2010-10-10 16:51
Message generated for change (Comment added) made by drtrigon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3084735&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: Dr. Trigon (drtrigon)
Assigned to: xqt (xqt)
Summary: Add botlist.py analog to watchlist.py for bot user caching
Initial Comment:
Hello all!
[...]
In the same process I wrote a completely new module
'botlist.py' which is an analogue to 'watchlist.py' not
completely finished, but works and caches all registred
bot from a site once a day. This gives a speed-up for
my bot. May be this can also be committed?
(please look at [1] or [2])
Thanks a lot and greetings!!
DrTrigon
[1] https://fisheye.toolserver.org/browse/drtrigon/pywikipedia/dtbext/dtbext_bo…
[2] https://fisheye.toolserver.org/browse/~raw,r=40/drtrigon/pywikipedia/dtbext…http://lists.wikimedia.org/pipermail/pywikipedia-l/2010-October/006450.htmlhttps://jira.toolserver.org/browse/DRTRIGON-66
----------------------------------------------------------------------
>Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-21 10:36
Message:
ping?
(what about the global bot code? is a re-write of the patch needed? any
problems? may I help? - thanks a lot!)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-15 18:56
Message:
I have written some code to enable global bot support. As side effects
'Special:GlobalUsers' had to be added as 'globalusers_address' and some
minor PEP 8 issues were solved.
Please have a look at 'botlist_global.patch' attached.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-10-11 07:25
Message:
Added in r8641 (first step without global bots)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2010-10-10 16:54
Message:
As discussion with xqt on #wikipedia-de-bots uncovered the global bots are
not requested since this need a seperate API call. This has also to be
implemented.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3084735&group_…
Feature Requests item #3091249, was opened at 2010-10-20 12:14
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3091249&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add upload protection to protect.py
Initial Comment:
It would be quite useful for the file protect.py to also have the upload protection so wikis like Commons can move to the upload protection of all files.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3091249&group_…
Feature Requests item #1846966, was opened at 2007-12-08 19:45
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1846966&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
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: sorting order on nds
Initial Comment:
Please add in "families/wikipedia_family.py", line 641 under "self.interwiki_putfirst" the line
'nds': ['nds-nl','pdc'] + self.alphabetic,
cause the Low Saxon Wikipedia wants interwiki links to Dutch Low Saxon at the beginning of the interwiki list. The Plautdietsch project with the code pdc does not yet exist, but a proposal is running and we want to include it at the beginning of the interwiki list right from the start.
Thanks in advance
Marcus Buck
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-10-18 18:47
Message:
correction done in r8666 due to this request:
http://meta.wikimedia.org/w/index.php?title=Interwiki_sorting_order&action=…
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2008-01-16 17:40
Message:
Logged In: YES
user_id=880694
Originator: NO
Done.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-08 19:47
Message:
Logged In: NO
Oh, sorry, of course the code for Plautdietsch is pdt, so it should be
'nds': ['nds-nl','pdt'] + self.alphabetic,
Marcus Buck
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1846966&group_…