Page MenuHomePhabricator

Make the external image block list / allow list into an extension
Open, Needs TriagePublic

Description

Core contains a bunch of code for allowing direct reference to external images which isn't used in WMF production. This code isn't currently supported by Parsoid either (T75581).

This could be replaced by a small hook to validate an image URL, and moved out of core into an extension.

Event Timeline

cscott created this task.Jun 8 2020, 6:47 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 8 2020, 6:47 PM

Change 604449 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/core@master] Deprecate external image related configuration in ParserOptions

https://gerrit.wikimedia.org/r/604449

Change 604496 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/core@master] WIP: move external image allow/deny functionality into an extension

https://gerrit.wikimedia.org/r/604496

Change 604508 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/core@master] Hard deprecate $wgAllowImageTag configuration

https://gerrit.wikimedia.org/r/604508

Change 604508 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate $wgAllowImageTag configuration

https://gerrit.wikimedia.org/r/604508

Change 604449 merged by jenkins-bot:
[mediawiki/core@master] Deprecate external image related configuration in ParserOptions

https://gerrit.wikimedia.org/r/604449