@misc{ wiki:xxx, author = "Wikimedia Commons", title = "File:12. CONCENTRATION MILL FRAMING DETAIL, LOOKING NORTHWEST - Kennecott Copper Corporation, On Copper River ^ Northwestern - LOC - hhh.ak0003.photos.000985p.tif --- Wikimedia Commons{,} the free media repository", year = "2023", url = "https://commons.wikimedia.org/w/index.php?title=File:12._CONCENTRATION_MILL_FRAMING_DETAIL,_LOOKING_NORTHWEST_-_Kennecott_Copper_Corporation,_On_Copper_River_%5E_Northwestern_-_LOC_-_hhh.ak0003.photos.000985p.tif&oldid=742949513", note = "[Online; accessed 30-June-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 = "File:12. CONCENTRATION MILL FRAMING DETAIL, LOOKING NORTHWEST - Kennecott Copper Corporation, On Copper River ^ Northwestern - LOC - hhh.ak0003.photos.000985p.tif --- Wikimedia Commons{,} the free media repository", year = "2023", url = "\url{https://commons.wikimedia.org/w/index.php?title=File:12._CONCENTRATION_MILL_FRAMING_DETAIL,_LOOKING_NORTHWEST_-_Kennecott_Copper_Corporation,_On_Copper_River_%5E_Northwestern_-_LOC_-_hhh.ak0003.photos.000985p.tif&oldid=742949513}", note = "[Online; accessed 30-June-2024]" }