Fix broken API links, fixes #4463
Created by: Razer6
This PR reverts the changes from ad0f1276dbfffadb18fa28980fb4bca91dbc19b9. Although the links won't work on Github anymore this fixes the wrong links for a GitLab instance.
I think it's better to have a working GitLab instead of being able to browse the links on Github's project browser.