2 function-naming improvements in db.js

Motivations: More consistent use of "fetch" and "dereference" across the file Makes it easier to understand the organization of the caching code fetchWikidataEntities is a bit more precise than fetchWikidataObjects

Bug: T380103

Closes T380103

Merge request reports

Loading