UC-53 Exported wgEnableMediaGalleryExt and fixed style/lint errors