Manual talk:$wgUrlProtocols
Latest comment: 1 year ago by Jim Grisham in topic Can not add the rdp protocol
File links edit
I found out that
$wgUrlProtocols[] = "file:";
breaks images like
[[File:John_Surtees.JPG|150px]]
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. --87.123.46.59 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?
- As of MediaWiki 1.35, RDP links appear to work fine when enabled with just:
$wgUrlProtocols[] = "rdp://";
- - Jim Grisham (talk) 22:00, 23 July 2022 (UTC)