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

       Web browser: ---
             Bug #: 36893
           Summary: Unnecessary "<h2></h2>" tags created in Main page by
                    MF extension
           Product: MediaWiki extensions
           Version: master
          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]
    Classification: Unclassified
   Mobile Platform: ---


MobileFrontend extension adds unnecessary "<h2></h2>" tags when reformatting
the Main page. The result is plenty of extra white in the mobile Main pages
suffering this problems. It seems to be linked to <div> tags in the original
source but I'm not sure.

Look this example, using the MF version from git master-0880467 (1012-05-15):

- http://espiral.org/wiki/Inicio

- Wiki format in the edit form:

<div id="mf-intro" style="font-size:162%; border:none; margin:0; padding:.1em;
color:#000;">[[Proyecto espiral|{{NUMBEROFARTICLES}} propuestas
conectadas]]</div>
<div id="mf-intro-pie" style="top:+0.2em; font-size:95%;">para mejorar tu vida
y tu entorno</div>

- Rendered in mobile version:

<div id="mf-intro" style="font-size:162%; border:none; margin:0; padding:.1em;
color:#000;"><a href="/wiki/Proyecto_espiral" title="Proyecto espiral"
class="mw-redirect">196 propuestas conectadas</a></div>
<br clear="all">
<h2></h2>
<div id="mf-intro-pie" style="top:+0.2em; font-size:95%;">para mejorar tu vida
y tu entorno</div>

("<br clear="all">" is also created next to the h2 but it is probably ok to
have it and play safe)

The desktop version doesn't add anything between both <div>.

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