3 ms·
There is the other option to use Parsoid. https://github.com/wikimedia/parsoid https://github.com/wikimedia/parsoid That is MediaWiki's official off wiki pars
by Washuu 10y ago
There is the other option to use Parsoid.
https://github.com/wikimedia/parsoid https://github.com/wikimedia/parsoid
That is MediaWiki's official off wiki parser that can turn wikitext into HTML or HTML back into wikitext. It would be reasonably simple to hook into its API and use it for data extraction instead.
- rspeer 10y agoIs converting Wikitext to HTML/RDFa really going to help with this task? I'd say it's actually clearer how to get the data out of the original Wikitext.