@misc{ enwiki:1218514875, author = "{Wikipedia contributors}", title = "United States District Court for the District of Idaho --- {Wikipedia}{,} The Free Encyclopedia", year = "2024", url = "https://en.wikipedia.org/w/index.php?title=United_States_District_Court_for_the_District_of_Idaho&oldid=1218514875", note = "[Online; accessed 25-June-2024]" }
url
(\usepackage{url}
somewhere in the preamble), which tends to give much more nicely formatted web addresses, the following may be preferred:
@misc{ enwiki:1218514875, author = "{Wikipedia contributors}", title = "United States District Court for the District of Idaho --- {Wikipedia}{,} The Free Encyclopedia", year = "2024", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=United_States_District_Court_for_the_District_of_Idaho&oldid=1218514875}", note = "[Online; accessed 25-June-2024]" }