Page MenuHomePhabricator

migrate textlib parser functionality to mwparserfromhell
Open, MediumPublic


textlib contains a lot of parsing functionality, built using regex. This usually works well, however it becomes complicated / error prone especially with nested templates.

However, as mwparserfromhell tokenizer doesn't expose start & end of each token, the textlib algorithms will need to be heavily revised, or mwparserfromhell needs improvements.

Event Timeline

jayvdb raised the priority of this task from to Medium.
jayvdb updated the task description. (Show Details)
jayvdb added subscribers: Xqt, Earwig, Ricordisamoa and 3 others.
Ricordisamoa updated the task description. (Show Details)
Ricordisamoa set Security to None.