The most common warning is about redirects. Such links are replaced
with direct links. In some cases better syntax for the same URL is
used, and in a single case the link target seems to be completely gone,
so the link is just removed.
Add a link checker script and instructions on how to run it.
First run found some problems, fix those as well:
* Escape some url templates from link creation with a '\' prefix,
the templates need to be turned into valid urls
by inserting a package name.
* For some reason,
the link checker cannot follow https://crates.io/crates/bodhi-cli.
This tool is also packaged in the official Fedora repositories,
and it is customary to refer to such tools simply by tool name,
so replacing the link with that
instead of excluding that link for the check.
* https://bodhi.fedoraproject.org/updates/new requires authentication.
It is not wrong to link there,
but since the Bodhi web app main page also has a "New Update" button,
replacing the link there,
so even unauthenticated readers get a good experience.
* Fix link to nonexistent page at src.fedoraproject.org
with a link to site root,
which is suitable in the context.
After Package Maintainer Docs were imported from the wiki
there have been some further wiki updates.
To avoid losing content when wiki pages are replaced
with links to the Package Maintainer Docs,
these updates are imported in this commit.
Some pages were already handled in a preceding commit.
This commit handles the reset.
The "Imported from:" comment is removed
from the top of the pages that are handled
since now that the migration is complete,
that information is not relevant any more.
When Package Maintainer Docs are published,
duplicate material in the Fedora Wiki should be removed
and replaced with links to the new docs.
In order to make this easy,
add a comment at the start od each page
linking to the original wiki page.
Restart the repository by
1. Starting to use Antora
2. Moving over some packaging related pages over from the wiki
3. Updating the pages where there are obvious problems