@misc{ enwiki:1192306640, author = "{Wikipedia contributors}", title = "St. Peter's Pro-Cathedral --- {Wikipedia}{,} The Free Encyclopedia", year = "2023", url = "https://en.wikipedia.org/w/index.php?title=St._Peter%27s_Pro-Cathedral&oldid=1192306640", note = "[Online; accessed 11-July-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:1192306640, author = "{Wikipedia contributors}", title = "St. Peter's Pro-Cathedral --- {Wikipedia}{,} The Free Encyclopedia", year = "2023", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=St._Peter%27s_Pro-Cathedral&oldid=1192306640}", note = "[Online; accessed 11-July-2024]" }