@misc{ enwiki:493625610, author = "{Wikipedia contributors}", title = "Once Upon a Time season 1 --- {Wikipedia}{,} The Free Encyclopedia", year = "2012", url = "https://en.wikipedia.org/w/index.php?title=Once_Upon_a_Time_season_1&oldid=493625610", note = "[Online; accessed 26-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:493625610, author = "{Wikipedia contributors}", title = "Once Upon a Time season 1 --- {Wikipedia}{,} The Free Encyclopedia", year = "2012", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=Once_Upon_a_Time_season_1&oldid=493625610}", note = "[Online; accessed 26-June-2024]" }