Adds logic to pushToWikidataFunction