HomePhabricator

Don't remove <meta>s with data-mw

Authored by marcoil.

Description

Don't remove <meta>s with data-mw

Fix over-removal of <meta> tags in
dcba4032057c416984c66405b1bc6b203e9caf59 in cases where there's
data-mw present. If the element is also a mw:Extension/ref/Marker
remove anyway, as those should always dissapear.

Test:
$ echo "{{CinteMurarieProvinciaGrosseto}}" |
node parse --prefix itwiki --wt2wt

Change-Id: Ia4704bce0730458bdd9302f769abd0bc663b2af6

Details