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

       Web browser: ---
             Bug #: 34686
           Summary: Left alligned images should come alongside text
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://ta.m.wikipedia.org
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: srik....@gmail.com
                CC: prei...@wikimedia.org, tf...@wikimedia.org
            Blocks: 32578
    Classification: Unclassified
   Mobile Platform: ---


I was trying make the image come along side text for Tamil mobile page, was
able to get it fixed with this change
http://ta.wikipedia.org/w/index.php?diff=1035058&oldid=1034263

I dont think this is ideal fix, since one cant add an extra div tag alongside
wikitext just for mobilefrontend. So this might be an issue with mf. Correct me
if am wrong.

[[Image:xyz.jpg|100px|left]] puts the image inside <div class="floatleft">, but
the image doesnt come alongside the text and text goes down.

[[Image:xyz.jpg|100px|right]] puts the image inside <div class="floatright">, 
the image does come alongside the text.

So floatleft needed an extra style attribute for the image to come properly. I
guess the style is missing in the class or something?

Feel free to undo/redo the below edit with a edit summary to reproduce the
issue

http://ta.wikipedia.org/w/index.php?diff=1035058&oldid=1034263

I also noticed similar issue in http://ml.m.wikipedia.org.

I took the fix from de.m.wikipedia.org where they seem to add the styling as
part of a template and the same goes for both mobile / desktop versions.

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