Well, while I agree that your frwiki has a large number of articles that are having wrong, those don't seem to be unfixable by you, aren't they?
Neither purging nor null editing, but in fr:Module:Wikidata/Récup:
function p.loadEntity(entity, cache)
if type(entity) ~= 'table' then
if cache then
if not cache[entity] then
cache[entity] = mw.wikibase.getEntity(entity) --Can't you change it to 'cache[entity] = mw.wikibase.getEntityObject(entity)'?
mw.log("cached")
end
return cache[entity]
else
if entity == '' then
entity = nil
end
return mw.wikibase.getEntity(entity) --Can't you change it to 'return mw.wikibase.getEntityObject(entity)'?
end
else
return entity
end
end