Translations:Manual:$wgFileExtensions/7/en

If $1 is set to true (default) then this $2 array is the list of allowed extensions, and all others are blocked.