Please compare this to my previously uploaded solution:<br><a href="https://sourceforge.net/tracker/?func=detail&aid=3054514&group_id=93107&atid=603140">https://sourceforge.net/tracker/?func=detail&aid=3054514&group_id=93107&atid=603140</a><br>
Wouldn't it be nicer?<br><br>Bináris<br><br><div class="gmail_quote">2010/10/21 <span dir="ltr"><<a href="mailto:amir@svn.wikimedia.org">amir@svn.wikimedia.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Revision: 8679<br>
Author: amir<br>
Date: 2010-10-21 13:11:09 +0000 (Thu, 21 Oct 2010)<br>
<br>
Log Message:<br>
-----------<br>
If summary is more than 200 characters will be created copyright violation<br>
<br>
Modified Paths:<br>
--------------<br>
trunk/pywikipedia/catlib.py<br>
<br>
Modified: trunk/pywikipedia/catlib.py<br>
===================================================================<br>
--- trunk/pywikipedia/catlib.py 2010-10-21 13:03:29 UTC (rev 8678)<br>
+++ trunk/pywikipedia/catlib.py 2010-10-21 13:11:09 UTC (rev 8679)<br>
@@ -458,7 +458,11 @@<br>
wikipedia.output('Moving text from %s to %s.' % (self.title(), targetCat.title()))<br>
authors = ', '.join(self.contributingUsers())<br>
creationSummary = wikipedia.translate(wikipedia.getSite(), msg_created_for_renaming) % (self.title(), authors)<br>
- targetCat.put(self.get(), creationSummary)<br>
+ #Maybe sometimes length of summary is more than 200 characters and thus will not be shown.so bot must listify authors in another place<br>
+ if len(creationSummary)>200:<br>
+ targetCat.put(self.get()+u"/n/nAuthors: %s" % authors, creationSummary)<br>
+ else:<br>
+ targetCat.put(self.get(), creationSummary)<br>
return True<br>
<br>
#Like copyTo above, except this removes a list of templates (like deletion templates) that appear in<br>
<br>
<br>
<br>
_______________________________________________<br>
Pywikipedia-svn mailing list<br>
<a href="mailto:Pywikipedia-svn@lists.wikimedia.org">Pywikipedia-svn@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn" target="_blank">https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn</a><br>
</blockquote></div><br><br clear="all"><br>