Page MenuHomePhabricator

Special:Undelete does not display form if unclosed tag with display:none in content
Closed, ResolvedPublic

Description

Special:Undelete puts the undelete form in the same div as the content. If the
content ends with an unclosed tag which has style="display: none", the form is
hidden (since Tidy will close the tag only after the content div ends).

The fix would be to either end the content div before opening the undelete form,
or to wrap the content in an extra div.

I will add a testcase on the next comment.


Version: 1.6.x
Severity: major
OS: Linux
Platform: PC
URL: http://en.wikipedia.org/wiki/Special:Undelete/User:CesarB/Testcases/5017

Details

Reference
bz5017

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:08 PM
bzimport set Reference to bz5017.
bzimport added a subscriber: Unknown Object (MLST).

Page display removed from the deleted revisions list (tends to be big and annoying,
and can be hostile with long text/css/whatever.)