Page MenuHomePhabricator

To Do: change the $wgEtherpadLiteUrlWhitelist mechanism and harmonise it with $wgEnableImageWhitelist handling
Open, MediumPublic

Description

see also bug35005

MediaWiki has already a framework for whitelists for image urls via MediaWiki
system pages.

/** If $wgAllowExternalImages is false, you can allow an on-wiki

  • whitelist of regular expression fragments to match the image URL
  • against. If the image matches one of the regular expression fragments,
  • The image will be displayed. *
  • Set this to true to enable the on-wiki whitelist (MediaWiki:External image

whitelist)

  • Or false to disable it */

$wgEnableImageWhitelist = true;


Version: unspecified
Severity: normal

Details

Reference
bz35006

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:14 AM
bzimport set Reference to bz35006.
Aklapper subscribed.

[Resetting task assignee to avoid cookie-licking. Please reclaim the task when you plan to actively work on this task. Thanks!]