Community Wishlist Survey 2021/Reading/Enable sticky table headers

From Meta, a Wikimedia project coordination wiki

Enable sticky table headers

  • Problem: In tables with many lines, the header scrolls out of the reader's view and is no further visible for him. That could cause confusion of column contents (for example for tables with numeric data).
  • Who would benefit: everyone reading articles with large tables
  • Proposed solution: implement the position:sticky attribute for table headers natively in MediaWiki through a class, e.g. mw-stickyhead.
  • More comments: This can be realized through templatestyles (example) but interferes the native wikitable styling which requires extra workarounds.
  • Phabricator tickets: phab:T42763
  • Proposer: hgzh 13:52, 18 November 2020 (UTC)[reply]