Most of the file should stay in WikibaseRepo:
- triggerAnonymousEditWarning
- Reference to mw.config (wbRepo, wbEntity, wbUserSpecifiedLanguages, wbCopyright, wbUserIsBlocked, wbUserCanEdit)
- restrict, evaluateRestrictions
- Watch handling
- References to the following messages:
- wikibase-anonymouseditwarning
- wikibase-copyrighttooltip-acknowledge
- wikibase-entity-*
WikibaseView should have a EntityViewFactory containing all other code in this file.