Manual talk:$wgUrlProtocols

Jump to navigation Jump to search

File links[edit]

I found out that

$wgUrlProtocols[] = "file:";

breaks images like


If I use

$wgUrlProtocols[] = "file:///";

everything works as expected.

I used MediaWiki 1.20.0 with Firefox 18.0.1. If above observation is true for other configurations as well, I think the article should be updated to reflect this. --Pigpen (talk) 15:23, 25 January 2013 (UTC)

I have now documented this bug in the manual page. Using file:// not with three, but with two slashes should help. -- 13:06, 6 January 2016 (UTC)

Can not add the rdp protocol[edit]

Add to LocalSettings.php (the receiver is taken from here: UNC_links):

$wgPFEnableStringFunctions = true; array_push($wgUrlProtocols, 'rdp://');

But MediaWiki in view-mode displays text: [rdp://full_address=s:ip] instead of url

Something can be corrected to add the correct formation of URI RDP links?