Fix #732: the wiki urls should encode file names
Also remove qualifiers (#xxx) when checking extensions and file types