HomePhabricator

Do not use remove() on maplinks

Description

Do not use remove() on maplinks

This was crashing VE, which isn't too strange as staticmap frames do
not have maps with the remove() method. They are actually links
(aka linkboxes).

Follow-up to: I0ae9065

Bug: T250620
Bug: T251053
Change-Id: I24fa20c623869e9740c345e067c3305ffc6af77f
(cherry picked from commit ef9410a081cf33fd82a435badf608752a5a09337)

Details

Provenance
TheDJAuthored on Apr 23 2020, 12:01 PM
matmarexCommitted on Apr 27 2020, 5:40 PM
Parents
rEKARbac1adfb1e53: Bump requirement to MediaWiki >= 1.35.0
Branches
Unknown
Tags
Unknown
References
wmf/1.35.0-wmf.28
ChangeId
I24fa20c623869e9740c345e067c3305ffc6af77f