@misc{ enwiki:1217227503, author = "{Wikipedia contributors}", title = "2023–24 San Jose State Spartans men's basketball team --- {Wikipedia}{,} The Free Encyclopedia", year = "2024", url = "https://en.wikipedia.org/w/index.php?title=2023%E2%80%9324_San_Jose_State_Spartans_men%27s_basketball_team&oldid=1217227503", note = "[Online; accessed 26-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:1217227503, author = "{Wikipedia contributors}", title = "2023–24 San Jose State Spartans men's basketball team --- {Wikipedia}{,} The Free Encyclopedia", year = "2024", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=2023%E2%80%9324_San_Jose_State_Spartans_men%27s_basketball_team&oldid=1217227503}", note = "[Online; accessed 26-July-2024]" }