Thread:Support/About MediaWiki:Achievements-badge-desc-edit-plus-category/en

The category name should be tested to see whether to use "a" or "an"; see this post for working code, and Matrix Wiki for an example of the code in use (note that an existing bug requires the use of  rather than a second   when nesting the switch etc.).