Talk:Specs/HTML

The about attribute
Is it guaranteed that groups of related elements will always be connected using the "about" attribute?

In ContentTranslation we are removing templates and

The questions are:
 * 1) Is every Transclusion and Extension/timeline element guaranteed to have an "about" attribute?
 * 2) If all the related elements have the same value in the "about" attribute, will it be enough to just do   and discard  ?

(FYI, Santhosh.thottingal.) --Amir E. Aharoni (talk) 16:02, 31 December 2014 (UTC)


 * Amir, the answer to 1) is yes. The 'about' attribute is always set, so that we can consistently identify templated or extension content that produces several sibling nodes. 2) is more of a jquery question. Without having tried it, I would say that yes it should work. Just give it a try (and report back, for others benefit) ;) -- Gabriel Wicke (GWicke) (talk) 16:42, 31 December 2014 (UTC)
 * Thanks.
 * Looks like it works, though I didn't test with a lot of articles: https://gerrit.wikimedia.org/r/#/c/182174/ . --Amir E. Aharoni (talk) 16:55, 31 December 2014 (UTC)