Author Topic: Missing wiki pages  (Read 10937 times)

HonzaCZ

  • Archer
  • *
  • Posts: 27
    • View Profile
Missing wiki pages
« on: 3 March 2024, 16:31:46 »
I noticed that many pages on the megaglest wiki are completely empty, but they used to have text and images.
I've checked the revision history but it's completely empty.

f.e.
empty wiki page
https://docs.megaglest.org/index.php?title=GAE/Faction_logos
archived page showing it used to exist
https://web.archive.org/web/20220421154453/https://docs.megaglest.org/index.php?title=GAE/Faction_logos

What happened?
« Last Edit: 4 March 2024, 18:27:42 by HonzaCZ »

HonzaCZ

  • Archer
  • *
  • Posts: 27
    • View Profile
Re: Missing wiki pages
« Reply #1 on: 4 March 2024, 18:27:13 »
Also, what is this, keeps appearing on the wiki from time to time.:o
(click to show/hide)

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 211
    • View Profile
Re: Missing wiki pages
« Reply #2 on: 6 October 2025, 22:15:11 »
Thanks for bringing up this bug. Took me a while to get time to fix but better late than never ;-).

The problem was due to errors migrating the wiki to 1.35.9. The pages were actually intact, but they couldn't be retrieved because the users that created them couldn't be located in the db. More info here: https://www.mediawiki.org/wiki/Topic:Vy4x2pb18ebrvqix

Unfortunately, the only way I could recover was to restore a pre-migration db from over 2 years ago, because I needed to run a (modified) version of a script called cleanupUsersWithNoIdMod.php before the migration script. So anything added since that date is lost. (Which I suspect is probably very little or nothing.)

So the steps to recover were:

The wiki appears to be successfully restored properly after these steps.

I've locked the wiki entirely from user creation and edits, because it has bots crawling all over it. It needs updating / migrating again before it's safe to unlock. The plan is to move it to a new system. (But exactly how that will look is still in the pipeline.)
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2