fiatjaf on Nostr: How great is wikitext, by the authors of wtf_wikipedia: Ok first, đ Wikitext is no ...
How great is wikitext, by the authors of wtf_wikipedia:
Ok first, đ
Wikitext is no small thing.
Consider:
- the partial-implementation of inline-css,
- nested elements do not honour the scope of other elements
- the language has no errors
- deep recursion of similar-syntax templates
- the egyptian hieroglyphics syntax
- 'Birth_date_and_age' vs 'Birth-date_and_age'
- the unexplained hashing scheme for image paths
- the custom encoding of whitespace and punctuation
- right-to-left values in left-to-right templates
- PEG-based parsers struggle with wikitext's backtracking/lookarounds
- there are 634,755 templates in en-wikipedia (as of Nov-2018)
- there are a large number of pages that don't render properly on wikipedia, or its apps..
this library supports many recursive shenanigans, depreciated and obscure template variants, and illicit wiki-shorthands.
Published at
2024-05-26 11:41:32Event JSON
{
"id": "05bd1842064d3e7e5711fbf2e40b7fb1a9bbd41d2968b2c9a8ca45e8c07a2f8a",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1716723692,
"kind": 1,
"tags": [
[
"imeta",
"url https://void.cat/d/GvDe1PCSPb5Vf15qVHpfmV.webp",
"dim 880x458",
"x 54d631f22257463f07100d5eaf465316173d29f4527df9ce5799e8ec4b02c1a3"
]
],
"content": "How great is wikitext, by the authors of wtf_wikipedia:\n\nOk first, đ\nWikitext is no small thing.\n\nConsider:\n\n- the partial-implementation of inline-css,\n- nested elements do not honour the scope of other elements\n- the language has no errors\n- deep recursion of similar-syntax templates\n- the egyptian hieroglyphics syntax\n- 'Birth_date_and_age' vs 'Birth-date_and_age'\n- the unexplained hashing scheme for image paths\n- the custom encoding of whitespace and punctuation\n- right-to-left values in left-to-right templates\n- PEG-based parsers struggle with wikitext's backtracking/lookarounds\n- there are 634,755 templates in en-wikipedia (as of Nov-2018)\n- there are a large number of pages that don't render properly on wikipedia, or its apps..\n\nthis library supports many recursive shenanigans, depreciated and obscure template variants, and illicit wiki-shorthands.\n\nhttps://void.cat/d/GvDe1PCSPb5Vf15qVHpfmV.webp",
"sig": "a8e347d921ec1fbcae247df04eecee8d1b066f764bb1c02c6a8ec7e3c1372436fa9e0e2dc2dc8864db7ec7d59620507ed1fc00de4c7842f8cc70dd5d6180b4b9"
}