@misc{ wiki:xxx, author = "Wikimedia Commons", title = "Sovereign-state flags in 1932 --- Wikimedia Commons{,} the free media repository", year = "2024", url = "https://commons.wikimedia.org/w/index.php?title=Sovereign-state_flags_in_1932&oldid=872126917", note = "[Online; accessed 12-July-2024]" }
\usepackage{url}
somewhere in the preamble) which tends to give much more nicely formatted web addresses, the following may be preferred:
@misc{ wiki:xxx, author = "Wikimedia Commons", title = "Sovereign-state flags in 1932 --- Wikimedia Commons{,} the free media repository", year = "2024", url = "\url{https://commons.wikimedia.org/w/index.php?title=Sovereign-state_flags_in_1932&oldid=872126917}", note = "[Online; accessed 12-July-2024]" }