http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10317
Revision: 10317 Author: xqt Date: 2012-06-08 06:51:26 +0000 (Fri, 08 Jun 2012) Log Message: ----------- Define the line_separator. Pages retrieved via API have "\n" whereas pages fetched from screen (mostly) have "\r\n". Interwiki and category separator settings in family files should use multiplied of this. LS is a shortcut alias (prevents null edits without any changes on the wiki) update from rewirte
Modified Paths: -------------- trunk/pywikipedia/config.py
Modified: trunk/pywikipedia/config.py =================================================================== --- trunk/pywikipedia/config.py 2012-06-08 06:48:45 UTC (rev 10316) +++ trunk/pywikipedia/config.py 2012-06-08 06:51:26 UTC (rev 10317) @@ -484,6 +484,12 @@ # processing. As higher this value this effect will decrease. max_queue_size = 64
+# Define the line separator. Pages retrieved via API have "\n" whereas +# pages fetched from screen (mostly) have "\r\n". Interwiki and category +# separator settings in family files should use multiplied of this. +# LS is a shortcut alias. +line_separatur = LS = u'\r\n' + ############## TEMPORARY SETTINGS ############## # Temporary solution for 2012 version survey, search for this key # in wikipedia.py
pywikipedia-svn@lists.wikimedia.org