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

       Web browser: ---
             Bug #: 30406
           Summary: MobileFrontend extension outputting invalid HTML in
                    footer
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


When visiting a page such as
<http://en.wikipedia.org/wiki/Main_Page?useformat=mobile> currently, the code
at the bottom of the page looks like this:

<div id='copyright'>Text is available under the <a rel="license"
href="http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License";>Creative
Commons Attribution-ShareAlike License</a><a rel="license"
href="http://creativecommons.org/licenses/by-sa/3.0/";
style="display:none;"></a>;
additional terms may apply.
See <a href="http://wikimediafoundation.org/wiki/Terms_of_use";>Terms of use</a>
for details.<br/> 
Wikipedia&reg; is a registered trademark of the <a
href="http://www.wikimediafoundation.org/";>Wikimedia Foundation, Inc.</a>, a
non-profit organization.<br /></li><li class="noprint"><a class='internal'
href="http://en.wikipedia.org/wiki/Wikipedia:Contact_us";>Contact us</a></div>

There are a number of problems with this code. It's using some bizarre
display:none inline CSS, it specifies a <li> element without any <ol> or </ul>
pair, and one of the <li> elements is left unclosed.

I'm told that this isn't exactly MobileFrontend's fault, but regardless,
MobileFrontend is the extension responsible for outputting sane and clean code
to mobile devices.

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