Set up:
*Wiki 1 - $wgUseInstantCommons = true;
*Wiki 2 - Using ForeignApiRepo to get images from wiki 1.
Consider [[commons:Image:Example.svg]].
Wiki 1 displays the description page from commons like it should.
Wiki 2 displays:
This file is from a shared repository and may be used by other projects. The description on its file description page<link to commons> there is shown below.
There is currently no text in this page. You can search for this page title in other pages, search the related logs, or edit this page.
Expected behaviour is for Wiki 2 to display the description page from commons. At the very least it shouldn't display the no page exists text.
The quickest fix would probably be to do the same stuff we do for adding the foreign description page on action=view, on action=render. A more proper fix would probably be to fetch the description page directly from the right repository.
Version: 1.18.x
Severity: normal