https://bugzilla.wikimedia.org/show_bug.cgi?id=27111

           Summary: Double layering ForeignAPIRepo's doesn't retrieve
                    descriptions properly
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bawolff...@gmail.com
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to