Output log each parsed page and revision

To improve quality of log

[https://fs.golderweb.de/index.php?do=details&task_id=67|FS#67]
This commit is contained in:
2016-08-22 15:43:25 +02:00
parent 2f022d9d30
commit 8948fcc78d

View File

@@ -34,6 +34,8 @@ from isoweek import Week
import pywikibot
import mwparserfromhell as mwparser
import jogobot
class CountryList():
"""
@@ -131,6 +133,10 @@ class CountryList():
# For easy detecting wether we have parsed self
self.parsed = True
# Log parsed page
jogobot.output( "Parsed revision {revid} of page [[{title}]]".format(
revid=self.revid, title=self.page.title() ) )
def detect_belgian( self ):
"""
Detect wether current entry is on of the belgian (Belgien/Wallonien)