[Pull-through of I7d5e1174 for tip of wmf8 to serve as wmf9 proxy]

Use new MWInlineExtensionNode and DM node construction

Depends on I0ddcabeb and I8d4f37b6 in core.

Change-Id: I7d5e1174c4f8a49d926b287b8dd109e3148cf95b
Revert "[Pull-through of I7d5e1174 for tip of wmf8 to serve as wmf9 proxy]"

This reverts commit 5b7450ce11ffd1d1d63f6ec78e6fed267cf5150e.

Change-Id: I0fefa3d1e7ac9fca97830fecf1c5f0e0cb3f4ea0