Adjust hidden element rules for printed view
authorjdlrobson <jdlrobson@gmail.com>
Wed, 19 Jul 2017 19:24:07 +0000 (12:24 -0700)
committerVolkerE <volker.e@wikimedia.org>
Thu, 20 Jul 2017 16:25:29 +0000 (16:25 +0000)
commitbea8977a8076c8afd28d63982f98d71d8e34cb29
treeb186cbac297b849b69561ea78a5f71fc4cfcc13a
parent7a7f93df564dd88a1200e2c15ce8ddfd66888fb8
Adjust hidden element rules for printed view

This change updates the hidden element list
for the printed view.

Elements hidden:
* Indicators
* Category links
* Redirect header hidden from all namespaces

Remove selectors that are not inside core. Due to
a miscommunication with Volker these were unintentionally
added in I9aa92a3e70991126c56df0a6db408d1c6f84f172:
* `#coordinates` is added by templates and should be in
MediaWiki:Print.css
* `.play-btn-large` is added by TimedMediaHandler and should
be removed in that extension
* `.noexcerpt` should not be used in this context. It's meant for
marking content up that should be hidden from extracts not for
content that should be hidden from print view - that's what `.noprint`
is for

Bug: T169823
Change-Id: I8b37a6b00618abda7267f92e4712169b22c20b94
resources/src/mediawiki.legacy/commonPrint.css