Patches item #1938920, was opened at 2008-04-09 22:26
Message generated for change (Settings changed) made by erwin85_wp
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1938920&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: Accepted
Priority: 5
Private: No
Submitted By: IWAI Masaharu (iwaim)
>Assigned to: erwin85 (erwin85_wp)
Summary: translate: lang:ja summary for pagefromfile.py
Initial Comment:
I translated to Japanese the summary in the pagefromfile.py. And lang:de prefix was mistake. I fixed it.
----------------------------------------------------------------------
>Comment By: erwin85 (erwin85_wp)
Date: 2008-04-09 23:06
Message:
Logged In: YES
user_id=1907826
Originator: NO
Applied patch in r5202.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1938920&group_…
Patches item #1938920, was opened at 2008-04-10 05:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1938920&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: IWAI Masaharu (iwaim)
Assigned to: Nobody/Anonymous (nobody)
Summary: translate: lang:ja summary for pagefromfile.py
Initial Comment:
I translated to Japanese the summary in the pagefromfile.py. And lang:de prefix was mistake. I fixed it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1938920&group_…
Patches item #1937637, was opened at 2008-04-08 14:08
Message generated for change (Comment added) made by erwin85_wp
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1937637&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: Accepted
Priority: 5
Private: No
Submitted By: IWAI Masaharu (iwaim)
>Assigned to: erwin85 (erwin85_wp)
Summary: movepages.py: change the summary with command-line option
Initial Comment:
Movepages.py's summary is hard-coding. But there is occasionally what wants to specify the summary.
I'm running the movepages.py with this patch.
----------------------------------------------------------------------
>Comment By: erwin85 (erwin85_wp)
Date: 2008-04-08 22:37
Message:
Logged In: YES
user_id=1907826
Originator: NO
I added the option based on this patch in r5200.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1937637&group_…
Revision: 5198
Author: filnik
Date: 2008-04-08 18:19:02 +0000 (Tue, 08 Apr 2008)
Log Message:
-----------
Fixed also welcome.py, change of HTML
Modified Paths:
--------------
trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py
===================================================================
--- trunk/pywikipedia/welcome.py 2008-04-08 17:41:51 UTC (rev 5197)
+++ trunk/pywikipedia/welcome.py 2008-04-08 18:19:02 UTC (rev 5198)
@@ -385,7 +385,7 @@
# and i put them in a list (i find it more easy and secure).
while 1:
# FIXME: That's the regex, if there are problems, take a look here.
- reg = r'\(<a href=\"/w/index.php\?title=%s(?P<user>.*?)&(?:amp;|)action=(?:edit|editredlink|edit&redlink=1)\"' % talk
+ reg = r'\(<a href=\"/w/index\.php\?title=%s(?P<user>.*?)&(?:amp;|)action=(?:edit|editredlink|edit&redlink=1)\"' % talk
p = re.compile(reg, re.UNICODE)
x = p.search(raw, pos)
if x == None:
@@ -749,7 +749,10 @@
'Say hi', 'Hi', 'hi', 'h', 'hello', 'Hello')
# The URL for new users is the same in every project. It should not be changed.
- URL = "/w/index.php?title=Special:Log&type=newusers&limit=%d&offset=%d" % (limit, offset_variable)
+ if offset_variable == 0:
+ URL = "/w/index.php?title=Special:Log&type=newusers&limit=%d" % limit
+ else:
+ URL = "/w/index.php?title=Special:Log&type=newusers&limit=%d&offset=%d" % (limit, offset_variable)
log = wsite.getUrl(URL)
wikipedia.output(u'Loading latest %s new users from %s...\n' % (limit, wsite.hostname()))
# Determine which signature to use
Hey everyone,
I just joined the list. Apologies if this has already been discussed, but I
couldn't find anything in the archives.
Is there any Python code out there for parsing or handling diffs? Perhaps
from some of the vandal-reverting bots, if not the actual pywikipedia
project? I'm messing around with some potential methods for detecting
vandalism, and I need to extract useful information from edit histories.
I'll write code to do this from scratch if necessary, and contribute it to
the project if I get it in reasonable shape, but I'd rather not do
unnecessary work to come up with something that someone else has already
done better.
Thanks!
-David