Why Nostr? What is Njump?
2024-05-26 11:41:32

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.

Author Public Key
npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6