HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer 63a292655ae042b42cc1245a8f8d4477c1734445

Re-add event listeners to images after a finished VE edit

Currently, if VisualEditor saved an edit, it replaces the current content
with the new content, which removes all already added event listeners, e.g.
on thumbs, added by MMV.

Add a new hook handler to the postEdit JavaScript hook to re-add all event
handlers to the thumb images to cover this case and enable MMV on a page
after a finished VE edit.

Bug: T97010
Change-Id: Ic1ee0b52265363978640358510cab89db4de2bb8

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT814485abbc58: Updated mediawiki/extensions Project: mediawiki/extensions/MultimediaViewer… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Aug 14 2015, 12:42 AM