Bug ID: 62071
           Summary: Edit link inconsistencies on Foreign file pages -
                    doEditSectionLink  incompatible with FileRepo
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
       Web browser: ---
   Mobile Platform: ---

Navigate to
Now navigate to the same page via a ForeignAPI

Notice that in the latter a broken VisualEditor link appears.
Expected: No VisualEditor link

Similarly if you go to the mobile site you will see the same problem - an edit
link appears in square brackets rather than an edit icon (see bug 61807). The
mobile skin uses doEditSectionLink which seems to be incompatible with

 I've spent the morning talking with Brion to understand more about how the
magic commons file page works and how the page is rendered.

Basically the problem is in FileRepo.php
getDescriptionRenderUrl creates an API request to something akin to
If we can route this through the current skin this problem goes away.

Brion is taking a look to see if he can add a hook.

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

Reply via email to