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

            Bug ID: 66487
           Summary: img tags are not well formed on main page
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

This breaks our XML parse when we try to detect images for the saved pages
feature in the Android Wikipedia app.

example from yesterdays main page:

<div style="float:right;margin-left:0.5em;"><a
href="/wiki/File:Maria_Sharapova,_December_2008.jpg" class="image" title="Maria
Sharapova">
<img alt="Maria Sharapova in 2008"
src="//upload.wikimedia.org/wikipedia/en/thumb/c/c6/Maria_Sharapova%2C_December_2008.jpg/61px-Maria_Sharapova%2C_December_2008.jpg"
width="61" height="100" class="thumbborder"
srcset="//upload.wikimedia.org/wikipedia/en/thumb/c/c6/Maria_Sharapova%2C_December_2008.jpg/91px-Maria_Sharapova%2C_December_2008.jpg
1.5x,
//upload.wikimedia.org/wikipedia/en/thumb/c/c6/Maria_Sharapova%2C_December_2008.jpg/121px-Maria_Sharapova%2C_December_2008.jpg
2x" data-file-width="405" 
data-file-height="667"></a></div>

The img tag should end in 
data-file-height="667"/>

-- 
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