Page MenuHomePhabricator

It won't remove empty gallery tags with parameters
Closed, ResolvedPublic

Description

this pair of empty tags was not removed by AWB
https://en.wikipedia.org/w/index.php?title=Qutab_Minar_metro_station&diff=prev&oldid=748727584

<gallery mode="packed">
</gallery>

Event Timeline

Rjwilmsi changed the task status from Open to Stalled.Nov 15 2016, 1:13 PM
Rjwilmsi subscribed.

Currently tags with no content with no properties are removed for these tags: gallery, center, blockquote, sub, sup

Which of these tags should also be removed when having properties but no content?

Just wondering but does the AWB removal logic also remove things like <gallery mode="packed"></gallery> or just <gallery></gallery>?

Currently tags with no content with no properties are removed for these tags: gallery, center, blockquote, sub, sup
Which of these tags should also be removed when having properties but no content?

All of them can be removed for having properties but no content. The span and div tags are the two big ones that can't be removed

Just wondering but does the AWB removal logic also remove things like <gallery mode="packed"></gallery> or just <gallery></gallery>?

AWB will currently remove <gallery></gallery>, but not the other.

Rjwilmsi claimed this task.

rev 12110