Last modified: 2012-03-06 08:49:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37006, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35006 - To Do: change the $wgEtherpadLiteUrlWhitelist mechanism and harmonise it with $wgEnableImageWhitelist handling
To Do: change the $wgEtherpadLiteUrlWhitelist mechanism and harmonise it with...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
EtherpadLite (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-06 08:49 UTC by T. Gries
Modified: 2012-03-06 08:49 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2012-03-06 08:49:33 UTC
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;

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links