Apache webserver.
I don't want to customize the content management system (MediaWiki) but I do wish to not serve some of its HTML elements, via the webserver, based on their CSS selector (ID/Class).
Pseudocode
<If elementInRequestedWebpage CONTAINS_SELECTOR "#x">
removeElement;
</if>
Can this be done?