Last modified: 2006-04-07 14:29:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2123 - Tidy HTML wrapping causes bad output
Tidy HTML wrapping causes bad output
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-09 15:53 UTC by Mormegil
Modified: 2006-04-07 14:29 UTC (History)
0 users

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


Attachments

Description Mormegil 2005-05-09 15:53:10 UTC
The "wrap" option configured for Tidy on Wikipedia is broken. If the "show hoverbox above links" setting is disabled, Tidy sometimes inserts the line break into the editsection link, causing it to display like "[ edit]". (See e.g. http://mormegil.wz.cz/etc/editsec_ff.png)

The "tidied" HTML looks like:

<div class="editsection" style="float:right;margin-left:5px;">
[<a href="
/w/index.php?title=Josephus_problem&amp;action=edit&amp;section=2">
edit</a>]</div>

Notice the superfluous end of line after the opening anchor tag, just before the "edit" text.

This might be fixed by some Tidy option like "wrap-attributes", I don't know, I have never used Tidy.
Comment 1 Mormegil 2006-04-07 14:29:47 UTC
"Fixed" by removing the hover option altogether
(see http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=7863), and
probably also by disabling the line-wrapping feature of Tidy

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


Navigation
Links