Page MenuHomePhabricator

Filter CSS elements entered by users that have the potential to be disruptive (en.wikipedia)
Closed, ResolvedPublic

Description

Author: richardjenkins28

Description:
Would it be possible to filter (strip out) the CSS elements 'position' and 'overflow' from pages when they are entered by a user (if possible, allow the function for sysops) on en.wikipedia? There has been a spate of disruption recently at the Reference desks whereby vandals edit either the main page, or templates transcluded on to that page, and insert CSS code such as:
<div style="position:fixed; width=20000; height=2000; left:9%; top:0%; overflow:visible;">
followed by an image and/or text, causing that image/text to obscure the rest of the page. As the tabs are obscured, less tech-savvy users cannot access the page history easily to revert the vandalism.

Examples:
http://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Archives/Science/2008_May_26&diff=prev&oldid=215979751

http://en.wikipedia.org/w/index.php?title=Template:RD_Archive_header_monthly&diff=215976080&oldid=190237754

http://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Archives/Miscellaneous/2008_May_26&diff=215977567&oldid=215857570


Version: unspecified
Severity: normal

Details

Reference
bz14346

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:11 PM
bzimport set Reference to bz14346.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 8679 ***