@misc{ enwiki:1170008860, author = "{Wikipedia contributors}", title = "Kennedy Space Center Launch Complex 39B --- {Wikipedia}{,} The Free Encyclopedia", year = "2023", url = "https://en.wikipedia.org/w/index.php?title=Kennedy_Space_Center_Launch_Complex_39B&oldid=1170008860", note = "[Online; accessed 19-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:1170008860, author = "{Wikipedia contributors}", title = "Kennedy Space Center Launch Complex 39B --- {Wikipedia}{,} The Free Encyclopedia", year = "2023", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=Kennedy_Space_Center_Launch_Complex_39B&oldid=1170008860}", note = "[Online; accessed 19-June-2024]" }