Many times while I was searching for some stuff related to Foreman I end up at Foreman wiki.
This is not ideal for our users, specially the ones who starts with Foreman, because the wiki pages are usuallt in on of these free states:
Wiki Legacy - Content has been promoted to the Foreman Manual
Hitting these pages is time consuming and doesn’t provide any useful information, so I’d like to start discussion what we can do with it and how to do proper cleanup.
I’m not sure what options do we have with Redmine, from what I’ve heard redirecting wiki pages to different site is not possible, so I’m open to any suggestions / ideas.
Last thing to mention, I’ve been looking only at Foreman project, but we shouldn’t forget to check all other projects/plugins and ensure that they don’t have the same problem.
We absolutely need to fix this, good find. Ideally, removing the content completely and providing links to up-to-date sites/documents so people coming from Google searches will find it. This feels like the easiest thing to do.
Shall we setup some kind of “Fix Our Wiki Friday” event where we would brainstorm over a meeting fixing these issues?
I would start with a redirect to the current content. There are some infra docs at https://github.com/theforeman/foreman-infra/tree/master/docs for example. So it can be as simple as replacing the whole page with a “this content is now at NEW LOCATION” text. Foreman Architecture - Foreman is IMHO a good example. We could also include [MOVED] in the title.
Yeah not bad idea, I actually planned it for myself as perfect Friday task
Ideally, removing the content completely and providing links to up-to-date sites/documents so people coming from Google searches will find it. This feels like the easiest thing to do.
@ares had good point about history for each wiki article. Even if we delete the content & say “hi, content is moved here: ” there are still x history versions that can be accessed from search engine, for example history for Tutorials article.
I would start with a redirect to the current content
Not sure if my account is missing permissions but I can’t see any option for redirect while editing the wiki articles.
So it can be as simple as replacing the whole page with a “this content is now at NEW LOCATION” text. We could also include [MOVED] in the title.
[MOVED] in title is good idea, we should do that.
One easy thing that we could do is to stop indexing our wiki pages.
I assume that Redmine is running behind Apache, so we could add no-index header to all wiki pages, something like this:
We can create a list of pages that can be deleted as well, like Ewoud mentioned, and then someone from infra team could delete them for us in a batch or script. I am assuming these are either files or database records with some name.
No idea if Redmine is behind Apache, but noindex is a good idea for sure.
Another potential solution: we can use Github topics. That way hammer-cli-plugin · GitHub Topics · GitHub becomes a dynamic list. I’ve added the hammer-cli-plugin topic to the repos on that page where I had access. The Katello and ATIX plugins are thus missing and probably more repos.
Note that Foreman itself also links to some wiki pages. We can’t just turn those off. It needs a patch to Foreman. Ideally we’d have a redirect once we turn the wiki off.