Change http://wikidata.org URLs to https://www.wikidata.org
Filter non-Wikipedias out of Wikidata-generated interwiki list
Rename $log_page to $logPage