Last modified: 2014-01-07 11:10:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61741, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59741 - Special:Translate breaks dom
Special:Translate breaks dom
Status: RESOLVED DUPLICATE of bug 46831
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-06 22:40 UTC by Derk-Jan Hartman
Modified: 2014-01-07 11:10 UTC (History)
7 users (show)

See Also:
Web browser: Apple Safari
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot of rendering (272.51 KB, image/png)
2014-01-06 22:40 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2014-01-06 22:40:06 UTC
Created attachment 14239 [details]
screenshot of rendering

Special translate seems to add unbalance html in the dom, specifically missing a </div> somewhere, causing all the navigation elements to be parented under the #content instead of being siblings of it.

This problem only exists with JS enabled.
Comment 1 Siebrand Mazeland 2014-01-06 22:46:08 UTC
I cannot reproduce on iPad.
Comment 2 Derk-Jan Hartman 2014-01-06 23:54:52 UTC
Actually it's also a problem without JS. You might notice that the 4 footer links and 2 logos are positioned inside the white frame of the content, where they should be positioned below it.

So it's a problem in the generated HTML.
Comment 3 Derk-Jan Hartman 2014-01-07 00:06:10 UTC
http://validator.w3.org/check?uri=https%3A%2F%2Fwww.mediawiki.org%2Fw%2Findex.php%3Ftitle%3DSpecial%3ATranslate%26group%3Dpage-Extension%253ATranslate%26language%3Den%26action%3Dpage%26filter%3D%26uselang%3Dqqx&charset=%28detect+automatically%29&doctype=Inline&group=0

Line 189, Column 8: End tag for body seen, but there were unclosed elements.
</body>

Error Line 36, Column 48: Unclosed element div.
<div id="content" class="mw-body" role="main">
Comment 4 Niklas Laxström 2014-01-07 11:10:52 UTC

*** This bug has been marked as a duplicate of bug 46831 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links