Last modified: 2014-05-22 18:11:10 UTC
File links in the dupe list should use the class "extiw" for shared files and no class for local files. Moreover, the title needs to be corrected to "commons:Image:bla.jpg" resp. "Image:bla.jpg".
The problem is that ForeignDBRepo does not provide the interwiki link to the repository it is pointing to. It is even possible that there is no interwiki pointing to the foreign repo and that external links are the only way to link to it.
Would it be a good idea to add a key to $wgForeignFileRepos, like 'interwiki' and add in CommonSettings.php 'interwiki' => 'commons'?
Component: Images -> Foreign file/repo
(In reply to comment #2)
> Would it be a good idea to add a key to $wgForeignFileRepos, like 'interwiki'
> and add in CommonSettings.php 'interwiki' => 'commons'?
What if there's no associated interwiki for said repo? Fail back to the current syntax of using ELs?
Construct a sane default interwiki. Mixing interwikis and external links does not sound a good idea.
(In reply to comment #5)
> Construct a sane default interwiki. Mixing interwikis and external links does
> not sound a good idea.
Not possible, as there is no connection between a foreign repo and an interwiki link. Nor do I see a compelling reason to change this at present.
Maybe we can slap plainlinks on these so we can ditch the EL icons though.
Mass component change for merge of "File/Repo" and "Images and Files"