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

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

Hm, it would be nice if this could make 1.38.

There isn't a non-WIP patch to review for 1.38 if I understand correctly.