http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9168
Revision: 9168 Author: cydeweys Date: 2011-04-12 23:08:51 +0000 (Tue, 12 Apr 2011) Log Message: ----------- Improved linking in edit summaries.
Modified Paths: -------------- trunk/pywikipedia/cfd.py
Modified: trunk/pywikipedia/cfd.py =================================================================== --- trunk/pywikipedia/cfd.py 2011-04-12 09:28:03 UTC (rev 9167) +++ trunk/pywikipedia/cfd.py 2011-04-12 23:08:51 UTC (rev 9168) @@ -93,9 +93,9 @@ dest = m.result.group(2) thisDay = findDay(src, day) if (mode == "Move" and thisDay != "None"): - summary = "Robot - Moving category " + src + " to " + dest + " per [[WP:CFD|CFD]] at " + thisDay + "." + summary = "Robot - Moving category " + src + " to [[:Category:" + dest + "]] per [[WP:CFD|CFD]] at " + thisDay + "." elif (mode == "Speedy"): - summary = "Robot - Speedily moving category " + src + " to " + dest + " per [[WP:CFDS|CFDS]]." + summary = "Robot - Speedily moving category " + src + " to [[:Category:" + dest + "]] per [[WP:CFDS|CFDS]]." else: continue # If the category is redirect, we do NOT want to move articles to
pywikipedia-svn@lists.wikimedia.org