Structured captions can't be edited on Beta because the link to do so is missing.
Steps to Reproduce: Visit any file page on Commons
Actual Results: Edit link is missing
Expected Results: Edit link is there
The problem seems to be related to this change: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/523737/ in conjunction with a recent change in WikibaseMediaInfo to depend on mw.hook( 'wikibase.entityPage.entityLoaded' ).