@misc{ enwiki:1124300085, author = "{Wikipedia contributors}", title = "United States Senate election in Vermont, 1878 --- {Wikipedia}{,} The Free Encyclopedia", year = "2022", url = "https://en.wikipedia.org/w/index.php?title=United_States_Senate_election_in_Vermont,_1878&oldid=1124300085", note = "[Online; accessed 12-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:1124300085, author = "{Wikipedia contributors}", title = "United States Senate election in Vermont, 1878 --- {Wikipedia}{,} The Free Encyclopedia", year = "2022", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=United_States_Senate_election_in_Vermont,_1878&oldid=1124300085}", note = "[Online; accessed 12-July-2024]" }