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

       Web browser: ---
             Bug #: 42492
           Summary: Mobile API strips images
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


In non-beta when images are disabled images are replaced with a link and alt
text like so (on Barack Obama article):

<a href="/w/index.php/File:Official_portrait_of_Barack_Obama.jpg"
class="image"><span class="mw-mf-image-replacement">[A portrait shot of Barack
Obama, looking straight ahead. He has short black hair, and is wearing a dark
navy blazer with a blue striped tie over a light blue collared shirt. In the
background are two flags hanging from separate flagpoles: the American flag,
and the flag of the Executive Office of the President.]</span></a>

The api doesn't replace the images like this - it simply strips it altogether.
The API should be consistent with the mobile site rendering.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to