Page MenuHomeMiraheze

img tags and "MediaWiki:External image whitelist" aren't functioning
Closed, InvalidPublic

Description

I recently used "Special:ManageWikiSettings" to enable HTML img tags and "MediaWiki:External image whitelist" on monarchists.wiki, yet these features aren't functioning.

Event Timeline

You need to change https://monarchists.wiki/wiki/MediaWiki:External_image_whitelist (syntax is invalid). Needs to be either:

^static\.miraheze\.org/

or

^https://static\.miraheze\.org/

see https://www.mediawiki.org/wiki/Manual:$wgEnableImageWhitelist

idris reopened this task as Open.EditedApr 23 2019, 01:51

It still won't work, and you obviously haven't done enough research. Please take a look at following:

And more importantly, you should check what "MediaWiki:External_image_whitelist" actually says by default:

Put regular expression fragments (just the part that goes between the //) below

"^" merely denotes the beginning of a string in regex, yet everything I've linked to above indicates that I should be able to use the middle of an URL as well.

Have you even tried getting firsthand experience with this feature yet?

idris closed this task as Invalid.EditedApr 23 2019, 02:17

Actually, I reached the conclusion that the 2017 wikitext editor doesn't render hotlinked images in its preview mode. Mea culpa.

John triaged this task as Normal priority.Apr 16 2020, 20:48