Feature Requests item #2836191, was opened at 2009-08-12 14:32
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2836191&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: Nobody/Anonymous (nobody)
Summary: getVersionHistory misses out current revision
Initial Comment:
Pywikipedia nightly:pywikipedia (r7143, 2009/08/11, 16:35:49)
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2]
MediaWiki 1.15.0 with German language setting
The regex in getVersionHistory doesn't capture the current revision of the page. Intermediate output of all finds of the editR variable shows that the most recent edit is not contained, so I suppose the regex in wikipedia.py:2280+ is broken.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 18:53
Message:
solved in r7323
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-13 19:46
Message:
I use this procrdure very often by my cleanup bot and it is so far so ok to
ignore minor edits.
I guess it's not a bug, it's a feature ;)
I move it to feature request
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-13 11:20
Message:
Yes that's right, I just verified it and it only misses "minor edits"
Is it possible to make getVersionHistory include them? Otherwise I think
it should be included in the documentation.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-12 16:52
Message:
Could it be, that the disregarded entries are marked as "minor edits"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2836191&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #2787889, was opened at 2009-05-06 16:29
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787889&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: rewrite
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Nobody/Anonymous (nobody)
Summary: getcurrenttime()
Initial Comment:
maybe this is better (less cost)
Index: pywikibot/pywikibot/site.py
===================================================================
--- pywikibot/pywikibot/site.py (revision 6836)
+++ pywikibot/pywikibot/site.py (working copy)
@@ -794,10 +794,10 @@
"""
r = api.Request(site=self,
- action="parse",
+ action="expandtemplates",
text="{{CURRENTTIMESTAMP}}")
result = r.submit()
- return re.search('\d+', result['parse']['text']['*']).group()
+ return re.search('\d+', result['expandtemplates']['*']).group()
def getcurrenttime(self):
"""Return a Timestamp object representing the current server time."""
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 16:41
Message:
set to pending for automatic close
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-02 11:53
Message:
This request may already be outdated, but please attach a proper patch.
Otherwise this patch will be rejected for certain after 2 weeks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787889&group_…
Patches item #2872953, was opened at 2009-10-05 16:32
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872953&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: xqt (xqt)
Assigned to: siebrand (siebrand)
Summary: Various patches for cosmetic_changes and others
Initial Comment:
cosmetic changes
* solves the putSpacesInList-problem by expanding the interface
* adds pdc to deprecatedTemplates
* ignore #39 in resolveHtmlEntities for eo-lang only
interwiki
* small text correction
redirect
* do not change the source in "always"-mode of the target does not exist (this would only become an additional broken redirect)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872953&group_…
Bugs item #2846488, was opened at 2009-08-28 16:22
Message generated for change (Comment added) made by vvinet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&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: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Import/Path errors
Initial Comment:
Pywikipedia (r-1 (unknown), 0 (unknown))
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
When modifying the path for performing imports, the config userData path should not be used, since the files are laid out in a static fashion. Instead, the __file__ path allows for the path to always contain the required files.
The included patch fixes the various import errors I found while trying to develop a bot that acted from outside de pywikipedia source folder.
----------------------------------------------------------------------
>Comment By: Vincent Vinet (vvinet)
Date: 2009-10-05 07:34
Message:
@siebrand: Please refer to the first three lines of the bug report.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 15:02
Message:
Required output of version.py is not included in report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&group_…
Patches item #2070033, was opened at 2008-08-23 20:37
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2070033&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: create library for diffs, expand userlib
Initial Comment:
Add a new library, editlib, for parsing diffs. It will parse the diff html page, extracting info like editor, time, edit summary, etc, and creating lists of the lines and words marked as added and deleted. More details can be found in the docstrings.
For use with editlib, some new functions are also added to userlib. These will get the user's registration date, the number of edits the user has made, and the number of vandalism warnings on the user's talk page.
Only Wikipedia:en is supported - some of the regular expressions rely on English text. Within that scope, I've done reasonably thorough testing on the editlib functions, and somewhat less thorough testing on the new functions for userlib.
All of this is designed for use with automated vandalism detection. I am working on a bot to do just that - User:Kalbot - but it's still in an early experimental stage. I am User:DKalkin on the English Wikipedia, and can be reached at dkalkin(a)gmail.com.
This is the first time I've submitted a patch to any sourceforge project. Apologies if I've screwed anything up.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 09:12
Message:
I couldn't download this patch from toolserver but an error "Object not
found". Anybody here who got it?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:44
Message:
Can you take a look at this, xqt? Thanks.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-08-21 17:05
Message:
https://jira.toolserver.org/browse/PYWP-9
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-21 06:48
Message:
no patchfile found
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-08-24 13:01
Message:
Logged In: YES
user_id=181280
Originator: NO
Currently SF attachment doesn't work, you can use an alternative bug
tracker hosted by Toolserver: https://jira.toolserver.org/browse/PYWP
Thanks.
----------------------------------------------------------------------
Comment By: Kalkin (dkalkin)
Date: 2008-08-23 20:45
Message:
Logged In: YES
user_id=1525955
Originator: NO
File didn't submit. Trying to figure out what went wrong...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2070033&group_…
Bugs item #2872725, was opened at 2009-10-04 19:51
Message generated for change (Settings changed) made by mu301
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&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: General
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: mikeu (mu301)
Assigned to: Nobody/Anonymous (nobody)
Summary: welcome.py TypeError creeps back in
Initial Comment:
The -timeoffset:X in welcome.py worked in r7328. It is broken in r7363 and r7373.
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-10-01T23:37:45Z
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7373, 2009/10/04, 19:46:54)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
The same error as appears above is seen with r7363.
RE: comment in closed bug ID: 2865343
I confirm that r7328 works:
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Querying new user log from API....
[Skip]... <!-- snip output showing correct behaviour... -->
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7328, 2009/09/29, 07:27:56)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
----------------------------------------------------------------------
>Comment By: mikeu (mu301)
Date: 2009-10-04 20:22
Message:
See ID: 2872239
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&group_…
Bugs item #2872725, was opened at 2009-10-04 19:51
Message generated for change (Tracker Item Submitted) made by mu301
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mikeu (mu301)
Assigned to: Nobody/Anonymous (nobody)
Summary: welcome.py TypeError creeps back in
Initial Comment:
The -timeoffset:X in welcome.py worked in r7328. It is broken in r7363 and r7373.
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-10-01T23:37:45Z
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7373, 2009/10/04, 19:46:54)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
The same error as appears above is seen with r7363.
RE: comment in closed bug ID: 2865343
I confirm that r7328 works:
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Querying new user log from API....
[Skip]... <!-- snip output showing correct behaviour... -->
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7328, 2009/09/29, 07:27:56)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&group_…
Bugs item #2847407, was opened at 2009-08-30 21:49
Message generated for change (Comment added) made by mga73
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&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: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: category_redirect.py not working
Initial Comment:
I get this error on da-wiki:
File "C:\pywikipedia\category_redirect.py", line 314
response, result = query.GetData(predata, self,site back_response = True)
^
SyntaxError: invalid syntax
(The ^ stands under the last e in back_response)
Is it just me that has this problem? mga73
----------------------------------------------------------------------
>Comment By: MGA73 (mga73)
Date: 2009-10-04 22:08
Message:
Forgot :-) :
C:\pywikipedia>category_redirect
Traceback (most recent call last):
File "C:\pywikipedia\category_redirect.py", line 674, in <module>
main()
File "C:\pywikipedia\category_redirect.py", line 668, in main
bot.run()
File "C:\pywikipedia\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\pywikipedia\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 21:01
Message:
You have not included the output of version.py, as is required. I just ran
it, and got a different error:
C:\py\interwiki>category_redirect.py -lang:da
WARNING: Configuration variable 'language' is defined but unknown.
Misspelled?
Traceback (most recent call last):
File "C:\py\interwiki\category_redirect.py", line 674, in <module>
main()
File "C:\py\interwiki\category_redirect.py", line 668, in main
bot.run()
File "C:\py\interwiki\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\py\interwiki\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
C:\py\interwiki>version.py
Pywikipedia [http] trunk/pywikipedia (r7355, 2009/10/02, 09:46:09)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&group_…
Support Requests item #2823916, was opened at 2009-07-19 18:40
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&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: 7
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit Pages through API
Initial Comment:
I had completed to make wikipedia.py.page()._putPage() can put pages through API,(in the patch file) but It's too big. I need someone to help debug it.
Some error code cannot handle like server database lag... etc
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:33
Message:
What is needed to get this issue closed? Please respond, or it will be
closed in two weeks.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-07-21 20:41
Message:
Yes, that is the plan. The major obstacle at this point is that the API
does not yet support querying most special pages (like
Special:DoubleRedirects) so that bots that rely on these pages cannot be
ported to the rewrite framework.
----------------------------------------------------------------------
Comment By: Philip Tzou (cngxzl)
Date: 2009-07-21 13:59
Message:
@russblau: Does the new rewrite branch will replace current trunk in the
future?
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-07-19 23:04
Message:
Alex: Are you reading pywikipedia-l? I will not review this patch, because
you are wasting your time by adding API capabilities to the trunk instead
of working on the rewrite branch that already uses the API.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&group_…