HomePhabricator

Support specifying reference contents with data-mw.body.id

Authored by Catrope.

Description

Support specifying reference contents with data-mw.body.id

If data-mw.body.html is not set, search for the element
whose ID matches data-mw.body.id and use its contents.

.body.html is still used for new content: new references
use .body.html, and if a reference using .body.id is
changed, the changed HTML is output in .body.html.

Bug: T88650
Change-Id: I5d614927256d59a3ab20b0bd6e882b5cb8fcda20

Details