@misc{ enwiki:1114632815, author = "{Wikipedia contributors}", title = "Section 125 of the Constitution Act, 1867 --- {Wikipedia}{,} The Free Encyclopedia", year = "2022", url = "https://en.wikipedia.org/w/index.php?title=Section_125_of_the_Constitution_Act,_1867&oldid=1114632815", note = "[Online; accessed 23-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:1114632815, author = "{Wikipedia contributors}", title = "Section 125 of the Constitution Act, 1867 --- {Wikipedia}{,} The Free Encyclopedia", year = "2022", howpublished = "\url{https://en.wikipedia.org/w/index.php?title=Section_125_of_the_Constitution_Act,_1867&oldid=1114632815}", note = "[Online; accessed 23-June-2024]" }