http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9895
Revision: 9895 Author: xqt Date: 2012-02-14 08:02:54 +0000 (Tue, 14 Feb 2012) Log Message: ----------- Better print fromatting
Modified Paths: -------------- trunk/pywikipedia/templatecount.py
Modified: trunk/pywikipedia/templatecount.py =================================================================== --- trunk/pywikipedia/templatecount.py 2012-02-13 16:24:33 UTC (rev 9894) +++ trunk/pywikipedia/templatecount.py 2012-02-14 08:02:54 UTC (rev 9895) @@ -30,6 +30,8 @@
""" # +# (C) Pywikipedia bot team, 2006-2012 +# # Distributed under the terms of the MIT license. # __version__ = '$Id$' @@ -80,7 +82,7 @@ # The names of the templates are the keys, and lists of pages # transcluding templates are the values. templateDict = {} - finalText = [u'List of pages transcluding templates:'] + finalText = [u'', u'List of pages transcluding templates:'] for template in templates: finalText.append(u'* %s' % template) finalText.append(u'-' * 36)