https://bugzilla.wikimedia.org/show_bug.cgi?id=73121

--- Comment #1 from [email protected] ---
We actually require an about id and a data-mw for extension content. I just
noticed there is a minor gap in our spec for the references extension (that
section show the data-mw for the references block in <ol>). However, all
transclusions and extensions do show data-mw.

I'll fix this.

But, we would need this for it to serialize properly.

<ol class="references" typeof="mw:Extension/references" about="#mwt2" 
data-mw='{"name":"references","attrs":{}}'></ol>

We should perhaps not throw a 503 and instead ignore this and generate an error
message perhaps. We'll discuss that internally.

We could also perhaps tweak our serializer to infer empty attributes from the
typeof and generate a self-closing empty tag. To be investigated.

But, if you your content translation engine to publish the data-mw and about
attributes, it should work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to