01:05
<sideshowbarker>

A couple of questions for the room:

  1. Are any of y’all still using HTML Tidy?
  2. If you are still using HTML Tidy, would you find it useful to have a replacement for it that uses an actual up-to-date spec-conforming HTML parser, rather than the ancient ad-hoc parser that HTML Tidy uses?

I think it should be possible to create an HTML Tidy replacement from the validator.nu HTML parser (Java) code. And I’m certain some people in the wider developer community would find it useful — but for prioritizing any potential work to make it, it’d be helpful to know if people in our community here are actually using HTML Tidy and would find a replacement useful.

So if you have interest, please click the +1 emoji on this message, or add some other emoji — and if you have specific details to share, please comment too.

02:11
<Timo Tijhof>
At Wikimedia Foundation, we depended on Tidy and its exact implementation details for well over a decade within the defacto MediaWiki wikitext parser for all article markup. However we finished a long migration a few years ago from php-tidy to our own standalone RemexHtml library which is more standards based.

https://www.mediawiki.org/wiki/RemexHtml

https://github.com/wikimedia/remex-html/
02:13
<Timo Tijhof>
At Wikimedia, we depended on Tidy and its exact implementation details for well over a decade within the defacto MediaWiki wikitext parser for all article markup. However we finished a long migration a few years ago from php-tidy to our own standalone RemexHtml library which is more standards based. https://www.mediawiki.org/wiki/RemexHtml
It'd probably be fairly straight forward to put that up in a web app of sorts.
21:09
<TabAtkins>
Hm. My mind's blanking on what sort of APIs might already exist that expose user preferences directly to JS.
21:09
<TabAtkins>
(That is, not MQs, but some function you'd call that actually returns some preference value.)
23:03
<Luke Warlow>
Depends on if you count it as a preference but the network information API has a property related to save data mode which is the backing for prefers-reduced-data iirc
23:04
<Luke Warlow>
Other than that matchMedia is all I know of but that doesn't return the underlying value.
23:42
<Kaiido>
Maybe not what you are after but to some extents CSS `<system-color>` values with `getComputedStyle` can give you some insights on some users's preferences.