Fix broken API links, fixes #4463
Created by: Razer6
This PR reverts the changes from ad0f1276. 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.