MediaWiki:Visualeditor-dialog-meta-settings-nogallery-help/en

You can prevent this category from displaying member files as a gallery, if that is inappropriate in this case.