Page MenuHomePhabricator

List tokens use special-cased "bullets" property instead of stuffing it in attribs like other tokens
Closed, ResolvedPublic


This is similar to T205491: QuoteTransformer and quote-tokens use a ".value" property on the token instead of adding it to the token's attributes except for list tokens and the bullets property.

An alternative to stuffing this into attribs[] is to create a derived class ListTagTk on the PHP side that surfaces this property as a first class field.


Related Gerrit Patches:

Event Timeline

ssastry created this task.Feb 8 2019, 5:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 8 2019, 5:49 PM
ssastry triaged this task as High priority.Feb 8 2019, 6:32 PM
ssastry moved this task from Backlog to Parsoid Fixes on the Parsoid-PHP board.Feb 8 2019, 6:34 PM

Change 489285 had a related patch set uploaded (by Subramanya Sastry; owner: Subramanya Sastry):
[mediawiki/services/parsoid@master] ListHandler tokens don't need to be special snowflakes either

Change 489285 merged by jenkins-bot:
[mediawiki/services/parsoid@master] ListHandler tokens don't need to be special snowflakes either

Arlolra closed this task as Resolved.Feb 8 2019, 11:32 PM