MediaWiki:Apihelp-query+allmessages-param-filter/en

Return only messages with names that contain this string.