+1 to using wgFileExtensions and qqq