Page MenuHomePhabricator
Feed Advanced Search

Sun, Jun 16

Ioaxxere added a comment to T31118: Add HTML 5 semantic elements 'details' and 'summary' to Sanitizer whitelist.

There's a long discussion in the parent task, T25932, summarized by "wikitext is not a superset of HTML". If we want to allow markup like:

<details open>
<summary>(short description)</summary>
;Name
:Lorem Ipsum
</details>

then the best way forward (in terms of future maintainability) is not to "just" allow arbitrary use of <details> and <summary> tags in wikitext, but instead to start by adding a new parser function, say {{#details|short description|content}} which will emit the structure that you want. (The 'content' block is a good use of heredoc arguments, T114432.) That is "more semantic" in tat the wikitext author is writing a semantic description of the details box (or whatever), and it allows us the ability to change the exact markup emitted for that parser function in the future. We're not committed to emitting exactly those particular HTML tags in that particular tree structure for all time.

Sun, Jun 16, 7:36 PM · Patch-Needs-Improvement, MediaWiki-Parser

Mon, Jun 10

Ioaxxere added a comment to T365806: Infinite scroll for articles (split documents on wikisource).

Why can't the entire text be rendered at load time? As long as the browser doesn't run out of memory and crash, it should work fine. I would personally find infinite scroll annoying if for example I were reading Wikisource on an unstable connection.

Mon, Jun 10, 6:12 AM · MediaWiki-General, All-and-every-Wikisource

May 19 2024

Ioaxxere triaged T365323: Enabling mobile categories by default in the English Wiktionary as Medium priority.
May 19 2024, 1:28 AM · Wikimedia-Site-requests

Sep 17 2023

Ioaxxere created T346590: Install Extension:WikiSEO on the English Wiktionary.
Sep 17 2023, 10:41 PM · Wikimedia-Extension-setup, Wikimedia-Site-requests