[Mediawiki-l] Antwort: Re: Link to a Windows-Fileshare

Sam Korn smoddy at gmail.com
Tue Oct 17 16:57:28 UTC 2006


On 10/17/06, Lane, Ryan <Ryan.Lane at ocean.navo.navy.mil> wrote:
> I think this will overwrite the array... You'll probably need to take
> the one from defaultsettings, and change it accordingly.

$wgUrlProtocols[] = 'file://'; would add a new value to the end of an array.

$wgUrlProtocols = 'file://'; would overwrite the array.

See http://uk.php.net/function.array-push

-- 
Sam



More information about the MediaWiki-l mailing list