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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user