http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84680
Revision: 84680
Author: diederik
Date: 2011-03-24 13:47:52 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Fixed some exceptions for comment parsing
Modified Paths:
--------------
trunk/tools/editor_trends/etl/enricher.py
Modified: trunk/tools/editor_trends/etl/enricher.py
===================================================================
--- trunk/tools/editor_trends/etl/enricher.py 2011-03-24 13:47:11 UTC (rev
84679)
+++ trunk/tools/editor_trends/etl/enricher.py 2011-03-24 13:47:52 UTC (rev
84680)
@@ -331,7 +331,7 @@
text = extract_revision_text(revision)
row.update(contributor)
- comment = add_comment(revision_id, revision)
+ comment = extract_comment_text(revision_id, revision)
cache.comments.update(comment)
timestamp = revision.find('timestamp').text
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs