Hi, Thank you or reading my post.
I am wondering if there exists a "grammar" for the "Wikicode"/"Wikitext" language (or an *exhaustive* (and formal) set of rules about how is constructed a "Wikitext"). I've looked for such a grammar/set of rules on the Web but I couldn't find one... I need to extract automatically the first paragraph of a Wiki article... I did it from the HTML version of a Wiki article (because I noticed the first paragraph was the first <p> element child of a <div> element which id is "bodyContent"...) but I need to work with the "Wikitext" itself... - Is a grammar available somewhere? - Do you have any idea how to extract the first paragaph of a Wiki article? - Any advice? - Does a Java "Wikitext" "parser" exists which would do it? Thank you for your help. All the best, -- Lmhelp -- View this message in context: http://old.nabble.com/Wikitext-grammar-tp29350471p29350471.html Sent from the WikiMedia General mailing list archive at Nabble.com. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l