Parsing MediaWiki text in Java reliably (according to stated criteria) -
i'm trying find api can avoid building (in java) can convert mediawiki syntax html myself. seems sufficiently general problem else should have solved it, far i've been digging around on internet no luck.
my first pick mylyn wikitext, seems work somewhat, i'm using maven, , maven repository version still 0.94, , seems support subset of full mediawiki syntax -- in particular, missing ability replace {{quote|sample quote text}} blockquotes.
i tried bliki v3.0.19, , seems missing blockquotes.
based on quick survey, many of other available options either no longer maintained, still in alpha (e.g. sweble), or projects single contributor, may less bug-free.
so, know of java library parsing mediawiki , generating html meets following criteria? (my intent specific , concrete i'm looking for, it's more binary choice matter of opinion.)
- still maintained -- more specific, it's been updated within last 2 years
- actually supports mediawiki {{quote}} syntax in addition more standard markup bold/italics/lists/links
- more 1 contributor source code , @ least hundreds of users (as evidence bugs , performance issues have been worked out)
- latest versions available central maven repository.
extra credit go api parsing language extensible, , elements of language can removed.
thanks!
https://www.mediawiki.org/wiki/alternative_parsers lists such attempts, none can fulfill requirements, i.e. being able parse site-specific markup individual template.
the parsing api used via java clients best chance. if reason cannot rely on http requests, please clarify use case in question.