Work around undefined warning on $year
Work around $pageName not yet existing on Wikidata
Prefix output lines with \n for nicer logs