If Wikipedia is mentioned, that suffices to add the link; it doesn't matter if the link has dropped off the bottom of the page. Just keep mentioning Wikipedia!
... prince-regent Dom Pedro I established the independent Empire of Brazil. This lasted until the next emperor, Dom Pedro II was deposed in 1889 and a republican bas ...