Relevant wish: W215: Open the Wikimedia Commons file page directly
See the wish for more detailed info. Per the talk page, it seems linking to the local description is a remnant from way back before we had MediaWiki-extensions-CentralAuth and GlobalUsage. Today, we should be safe to always link to Commons. This will help drive traffic to Commons, centralize File maintenance, and be less confusing for newer users who are trying to edit the preexisting description.
Since the file description link is generated during parsing, we need to patch both Core's MediaTransformOutput as well as Parsoid.
See also: T426848: Local file pages are getting indexed by Google (duplicate content?)