Page MenuHomePhabricator

Elements with blacklisted class get removed only if it's their only class
Closed, ResolvedPublic

Description

<span class="noprint">Test 1</span> gets removed while <span class="noprint plainlinks">Test 2</span> doesn't.

Originally reported at https://www.mediawiki.org/wiki/Extension_talk:MobileFrontend#class.3D.22noprint.22_12535


Version: unspecified
Severity: normal
URL: https://www.mediawiki.org/w/index.php?title=User:MaxSem/sandbox&mobileaction=toggle_view_mobile

Details

Reference
bz36742

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:27 AM
bzimport set Reference to bz36742.
bzimport added a subscriber: Unknown Object (MLST).

I had similar problems after patching core and adding my own class .noscreen .
This did not work for screen media.

It worked in former MediaWiki versions.

This bug is pretty much a duplicate of bug 29157.

marking as duplicate

  • This bug has been marked as a duplicate of bug 29157 ***