Bugs item #2083535, was opened at 2008-08-30 05:57
Message generated for change (Settings changed) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2083535&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: 3
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py note gives wrong count
Initial Comment:
Interwiki.py, when started up, ays something like:
NOTE: Number of pages queued is 0, trying to add 255 more.
If you specify parameters -number:10 and -query:255, it displays "add 255 more", but then only adds 10.
I have not tested that, but likely, limiting -array: will have a similar effect.
So, better interwiki.py should first compute how many pages are to be added this time, then display the figure, instead of doing it the other way round.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2083535&group_…
Bugs item #2083535, was opened at 2008-08-30 05:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2083535&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: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py note gives wrong count
Initial Comment:
Interwiki.py, when started up, ays something like:
NOTE: Number of pages queued is 0, trying to add 255 more.
If you specify parameters -number:10 and -query:255, it displays "add 255 more", but then only adds 10.
I have not tested that, but likely, limiting -array: will have a similar effect.
So, better interwiki.py should first compute how many pages are to be added this time, then display the figure, instead of doing it the other way round.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2083535&group_…
Please do not reply to this email, it was automatically generated. If you
would like to comment on the issue, visit this URL:
https://jira.toolserver.org/browse/PYWP-9
create library for diffs, expand userlib
----------------------------------------
Key: PYWP-9
URL: https://jira.toolserver.org/browse/PYWP-9
Project: pywikipedia
Issue Type: New Feature
Environment: Wikipedia:en (for now)
Reporter: David
Assignee: David
Priority: Minor
Attachments: kal.patch
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.toolserver.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Revision: 5867
Author: russblau
Date: 2008-08-29 19:08:34 +0000 (Fri, 29 Aug 2008)
Log Message:
-----------
supply missing namespace and argument
Modified Paths:
--------------
branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py
===================================================================
--- branches/rewrite/pywikibot/site.py 2008-08-29 19:07:49 UTC (rev 5866)
+++ branches/rewrite/pywikibot/site.py 2008-08-29 19:08:34 UTC (rev 5867)
@@ -433,9 +433,11 @@
return self._userinfo
def getcurrenttimestamp(self):
- """Returns a (Mediawiki) timestamp, {{CURRENTTIMESTAMP}},
- the server time.
- Format is yyyymmddhhmmss"""
+ """Return (Mediawiki) timestamp, {{CURRENTTIMESTAMP}}, the server time.
+
+ Format is yyyymmddhhmmss
+
+ """
r = api.Request(site=self,
action="parse",
text="{{CURRENTTIMESTAMP}}")
@@ -1438,8 +1440,8 @@
raise Error("search: searchstring cannot be empty")
if where not in ("text", "titles"):
raise Error("search: unrecognized 'where' value: %s" % where)
- srgen = PageGenerator("search", gsrsearch=searchstring, gsrwhat=where,
- site=self)
+ srgen = api.PageGenerator("search", gsrsearch=searchstring,
+ gsrwhat=where, site=self)
if not namespaces:
logger.warning("search: namespaces cannot be empty; using [0].")
namespaces = [0]
@@ -1509,7 +1511,7 @@
def watchlist_revs(self, start=None, end=None, reverse=False,
namespaces=None, showMinor=None, showBot=None,
- showAnon=None):
+ showAnon=None, limit=None):
"""Iterate revisions to pages on the bot user's watchlist.
Iterated values will be in same format as recentchanges.
@@ -1526,7 +1528,8 @@
None), only list non-bot edits
@param showAnon: if True, only list anon edits; if False (and not
None), only list non-anon edits
-
+ @param limit: Maximum number of revisions to iterate
+
"""
if start and end:
if reverse:
Bugs item #2082329, was opened at 2008-08-29 08:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2082329&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: Uberfuzzy (uberfuzzy)
Assigned to: Nobody/Anonymous (nobody)
Summary: movepages.py with -del does not delete talk page redirect
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5858, Aug 28 2008, 11:35:51)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
when using the movepages.py script with the -del option to delete the leftover redirect, only the redirect for the page is deleted, but not the talk page redirect.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2082329&group_…