Hello all, Currently the syntax highlighter of the Wikipedia android app seems to be slow except on high-end devices. It has been proposed to change the implementation to provide users with a better (streamlined) experience while editing[1].
As a first attempt it has been thought to use regular expression to highlight the appropriate wikitext. To avoid re-inventing the wheel, I thought it would be better to ask if the regular expressions to identify various wiki syntax elements is in use somewhere ?
I guess there has to be at least some form of formal definition for the wiki-text syntax somewhere. It would be of great use though it isn't in the form of regular expressions. Please reply with anything that seems related. Thanks!
Note: Any suggestions regarding the improvement of the syntax highlight implementation would be helpful.
Links ----- [1]: https://phabricator.wikimedia.org/T164936