User:DAlangi (WMF)/Sandbox/CommTech Hackathon FloatingTables resources

Leon Ziemba2:42 PM https://www.mediawiki.org/wiki/Parsing/Parser_Unification#Project_Goals "Intermediate Goal (by mid 2022): Parsoid replaces the core parser for all wikitext use cases on the Wikimedia cluster."

Emanuele Leoni2:42 PM https://gerrit.wikimedia.org/g/mediawiki/core/+/e51ccb0eab50f076206551bf6dad30b48a11c777/includes/tidy/RemexCompatMunger.php

Daniel Kinzler2:44 PM https://gerrit.wikimedia.org/r/c/mediawiki/core/+/791000

Leon Ziemba2:54 PM you need CodeMirror on your local, too!

Leon Ziemba2:55 PM https://en.wikipedia.org/wiki/Help:Table#Nested_tables

You2:58 PM I was also playing with this: https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/791014 (from Daniel's patch) on Vector2022 The table header stacks underneath the page title but it's not great :(

Leon Ziemba2:59 PM Jon Robson was also saying there to use skinStyles

Leon Ziemba3:00 PM table :not(table) maybe? https://phabricator.wikimedia.org/T289817

Leon Ziemba3:03 PM https://de.wikipedia.org/wiki/Elvis_Presley/Diskografie

Emanuele Leoni3:04 PM https://de.wikipedia.org/wiki/Vorlage:Charttabelle/styles.css

Leon Ziemba3:06 PM .mw-sticky-header-element

You3:13 PM and most of the tables are not sortable Emanuele Leoni3:16 PM https://en.wikipedia.org/wiki/List_of_U.S._states_and_territories_by_incarceration_and_correctional_supervision_rate

You3:19 PM Jon dropped a comment here: This looks like a skin style at best to me. It doesn't need to be loaded for every user.

Have you looked at https://phabricator.wikimedia.org/T289817 ? We created the mw-sticky-header-element class as a generic way for gadgets and extensions to represent themselves as sticky. on this patch: https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/791014

Emanuele Leoni3:21 PM https://gerrit.wikimedia.org/g/mediawiki/skins/Vector/+/ec3ea816dcde523ff644d73907f6318f782218e0/resources/skins.vector.styles/components/StickyHeader.less#144

Leon Ziemba3:24 PM test cases can go here: https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Reading/floating_table_headers/Test_cases

Leon Ziemba3:26 PM https://gerrit.wikimedia.org/g/mediawiki/skins/Vector/+/ec3ea816dcde523ff644d73907f6318f782218e0/resources/skins.vector.styles/layouts/screen.less#188 err, that's only for the TOC https://gerrit.wikimedia.org/g/mediawiki/skins/Vector/+/ec3ea816dcde523ff644d73907f6318f782218e0/resources/skins.vector.styles/components/StickyHeader.less#143

Leon Ziemba3:30 PM thanks https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Reading/floating_table_headers/Test_cases