use ammessages key instead of amfilter filter to retrieve mediawiki messages. This enables keys with first char uppercase.
use ammessages key instead of amfilter filter to retrieve mediawiki messages.
This enables keys with first char uppercase.

pywikibot/core-migration-example