Page MenuHomePhabricator

Make "about" attribute IDs deterministic
Open, MediumPublic


As shown by the tools/ script, every time we reparse a large page (like [[en:Barack_Obama]]) we generate different ID values for the about attributes.

This seems to be because the token pipeline is async and thus non-deterministic, and we don't have a final DOM post-pass to ensure a deterministic numbering.

See also T87556: Thoughts on element IDs, sections, incremental parsing and fast section editing.

Event Timeline

cscott renamed this task from Make about IDs deterministic to Make "about" attribute IDs deterministic.Oct 4 2018, 2:09 PM
cscott triaged this task as Medium priority.
cscott created this task.
cscott updated the task description. (Show Details)

Change 476582 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/services/parsoid@master] Ignore failures from latest node in travis

Change 476582 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Ignore failures from latest node in travis