Author Topic: Wiki cleanup questions  (Read 16740 times)

Offline Pumpkin

  • Hero Member Mark III
  • *****
  • Posts: 1,201
  • Neinzul Gardener Enclave
Wiki cleanup questions
« on: July 09, 2016, 10:55:07 am »
Hello.

I notice there is many redirect pages that are not linked to (I created some myself). As they are particularly useless, I wonder if there is a way to delete them.

Also, the navbar templates creates a lot of links, which makes most of the "what links here" information completely useless, because everything links to everything through that navbar thing. Is there a solution? Can the navbar be moved into the wiki's footer (instead of being at each page content's end)? The "what links here" would be a very powerful tool for tracking and cleaning outdated pages...

Thanks in advance!
Please excuse my english: I'm not a native speaker. Don't hesitate to correct me.

Offline Dominus Arbitrationis

  • Arcen Games Contractor
  • Arcen Staff
  • Sr. Member Mark III
  • *****
  • Posts: 479
Re: Wiki cleanup questions
« Reply #1 on: July 09, 2016, 11:03:37 am »
I added you to the administrator group on the wiki, mostly due to the massive amount of work you put in to the wiki, which also allows you to delete pages (And edit pages that are protected, among other fancy things). All of these actions are logged and can be reverted, so if you make a mistake just let me know and I'll fix it quickly for you. :)

When you say navbar templates, are you referring to the {{{BDRefNav}} templates? The only way to move that to the wiki footer would be to make a modification to the actual wiki code and set it up in there. Even then, I think the what links here might still pick it up.
Come help out at the Wiki!

Have ideas or bug reports for one of Arcen's games or any part of the site? Use  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games and site better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Wiki cleanup questions
« Reply #2 on: July 09, 2016, 11:12:03 am »
Mind, some redirect pages exist because they're something someone might search for, rather than being something a page would link to (in fact, linking to a redirect page is often considered a faux pas).

E.g. if I put "Brutal Guard Post" into the URL bar/search I would expect that to take me to /AI_War:Guard_Posts#Brutal_Guard_Posts

Offline Pumpkin

  • Hero Member Mark III
  • *****
  • Posts: 1,201
  • Neinzul Gardener Enclave
Re: Wiki cleanup questions
« Reply #3 on: July 09, 2016, 01:28:03 pm »
I added you to the administrator group on the wiki, mostly due to the massive amount of work you put in to the wiki, which also allows you to delete pages (And edit pages that are protected, among other fancy things). All of these actions are logged and can be reverted, so if you make a mistake just let me know and I'll fix it quickly for you. :)

When you say navbar templates, are you referring to the {{{BDRefNav}} templates? The only way to move that to the wiki footer would be to make a modification to the actual wiki code and set it up in there. Even then, I think the what links here might still pick it up.
Wohoo! Superpowa! Thank you!!!

Mind, some redirect pages exist because they're something someone might search for, rather than being something a page would link to (in fact, linking to a redirect page is often considered a faux pas).

E.g. if I put "Brutal Guard Post" into the URL bar/search I would expect that to take me to /AI_War:Guard_Posts#Brutal_Guard_Posts
Very interesting; I wasn't aware of that. I'll pay attention to it. However, there is plenty of old technical redirections and redirections to redirections (from redirections) that really need some cleaning.
Please excuse my english: I'm not a native speaker. Don't hesitate to correct me.

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Wiki cleanup questions
« Reply #4 on: July 09, 2016, 02:21:45 pm »
Double (or more) redirects should be cleaned up, yes.
There should be a special page for the wiki software to locate double redirects for you.  Whether or not you can find that page is another question.  Check /Special:SpecialPages it's probably something like /Special:DoubleRedirects (at least it is on Mediawiki)

Offline Dominus Arbitrationis

  • Arcen Games Contractor
  • Arcen Staff
  • Sr. Member Mark III
  • *****
  • Posts: 479
Re: Wiki cleanup questions
« Reply #5 on: July 09, 2016, 04:50:19 pm »
If you check the top of https://arcengames.com/mediawiki/index.php?title=Special:SpecialPages you should see options for double redirects and broken redirects among many other things.
Come help out at the Wiki!

Have ideas or bug reports for one of Arcen's games or any part of the site? Use  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games and site better!

Offline Pumpkin

  • Hero Member Mark III
  • *****
  • Posts: 1,201
  • Neinzul Gardener Enclave
Re: Wiki cleanup questions
« Reply #6 on: July 10, 2016, 04:13:30 am »
Double (or more) redirects should be cleaned up, yes.
There should be a special page for the wiki software to locate double redirects for you.  Whether or not you can find that page is another question.  Check /Special:SpecialPages it's probably something like /Special:DoubleRedirects (at least it is on Mediawiki)
If you check the top of https://arcengames.com/mediawiki/index.php?title=Special:SpecialPages you should see options for double redirects and broken redirects among many other things.
Yep, I found that. This is what made me want to clean them up. It's like a list of achievement on a game... I can't resist. (Yes, I'm weak.)

And now I can. 8) Let the game begin.
Please excuse my english: I'm not a native speaker. Don't hesitate to correct me.

Offline Pumpkin

  • Hero Member Mark III
  • *****
  • Posts: 1,201
  • Neinzul Gardener Enclave
Re: Wiki cleanup questions
« Reply #7 on: July 10, 2016, 04:18:26 am »
Mind, some redirect pages exist because they're something someone might search for, rather than being something a page would link to (in fact, linking to a redirect page is often considered a faux pas).

E.g. if I put "Brutal Guard Post" into the URL bar/search I would expect that to take me to /AI_War:Guard_Posts#Brutal_Guard_Posts
Very interesting; I wasn't aware of that. I'll pay attention to it. However, there is plenty of old technical redirections and redirections to redirections (from redirections) that really need some cleaning.
Ow, question.
Does the namespace prevent the search engine to find something? For example, if there is a page named "AI_War:XXX" and I search "XXX", will I find it? If there is a page named "XXX" outside of any namespace which redirects to "AI_War:XXX", can I remove it? (provided everything link to "AI_War:XXX" and not to "XXX")

With great power comes great responsibility.
« Last Edit: July 10, 2016, 04:20:19 am by Pumpkin »
Please excuse my english: I'm not a native speaker. Don't hesitate to correct me.

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Wiki cleanup questions
« Reply #8 on: July 10, 2016, 11:14:09 am »
It....does, but not well.

https://arcengames.com/mediawiki/index.php?title=AI_War
https://arcengames.com/mediawiki/index.php?title=Special:Search/AI_War

That being a complete surprise to me that we didn't have a redirect for that.

Offline Dominus Arbitrationis

  • Arcen Games Contractor
  • Arcen Staff
  • Sr. Member Mark III
  • *****
  • Posts: 479
Re: Wiki cleanup questions
« Reply #9 on: July 12, 2016, 09:33:32 pm »
On the old wiki, I had an extension that helped a lot with the searching but it got disabled with the move to the new wiki. If anyone feels like revamping it, I'll gladly send you the code for it, but there is a lot of it and if I remember correctly it wasn't very pretty.
Come help out at the Wiki!

Have ideas or bug reports for one of Arcen's games or any part of the site? Use  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games and site better!