wikimedia/mediawiki-services-parsoid
View on GitHub ↗ ★ 211 PHP
This is a mirror from https://gerrit.wikimedia.org/g/mediawiki/services/parsoid/. See https://www.mediawiki.org/wiki/Developer_access for contributing.
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2016-08-15 · latest 2020-02-13
20082026
-
If you want to dig through the history some: https://github.com/wikimedia/parsoid/blame/6eb00df3e090b20cc... Is a pretty good example of the porting technique. You'll see quite a decent number of lines are still unchanged from the…
comment by cscottnet · 2020-02-13 · in Parsoid in PHP, or There and Back Again -
…else feeling that strict typing and long var names are not worth all the visual overload? Example: https://github.com/wikimedia/parsoid/blob/master/src/Parsoid... This is how I would write the function definition: function…
comment by TicklishTiger · 2020-02-13 · in Parsoid in PHP, or There and Back Again -
> What am I missing? Google fu. parsoid source code => https://github.com/wikimedia/parsoid
comment by perlgeek · 2020-02-13 · in Parsoid in PHP, or There and Back Again -
There is the other option to use 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…
comment by Washuu · 2016-08-15 · in Extracting data from Wikipedia using curl, grep, cut and other bash commands