I have noticed a couple of things. For some reason some users have been deleted from the user database. Currently I'm not sure what point they vanished. The user delete script I wrote only seems to delete users with no email or usernames. Though I must of had another script at some point because that alone would not have cleared out the spam users. I think what may have happened was I was only checking users had posted anything, it is possible users uploaded a lot of images but do not actually post anything and thus could have got deleted out at some point. Oops!
Though one of the scripts is supposed to fix that which seems broken and doesn't fix them
So what I did was to copy the original user database over and use that one then upgrade the wiki to version 25 as thats my WIP wiki. Now oddly in the file list it looks like all the images are now present!
The problem is, files are still missing from the home page etc looking at one of the images..

- filelist.PNG (175 KiB) Viewed 5055 times
Past revisions are there but the current version which is at the top of the list does not work still

because I only altered to relating tables, I compare them to the original database and they looked identical.
This leads to another strange issue that the original database does not list any files whatsoever in the filelist page. However the images actually show up on the wiki just fine . So I think something was broken on the original database anyway
Another really bizarre oddity in this, as I deleted the whole images folder on the server, so files were not there whatsoever. I also wrote a script which search the whole database for any entries whatsoever of a particular image file and delete them out. So when I went to try and upload the missing file, the wiki software reported the images already there! If I go on the file list and click delete image, says file not found! So I don't see how the file can and cannot be there at the same time. Needless to say I think something is seriously FUBAR in the wiki scripts somewhere.
I only got one reply to my request with the wiki developers, it was only a tweaked one line I was running but it did not do anything anyway. I'll post a small day since then what I think its pretty clear nobody cares, not really surprised.
So currently I am running a tweaked script I found on
github (***) and running the update script again to see if that fixes the user problem at least. Having the images actually show up in the file list is a huge step forward in any case. I did try also updating to version 39 of the wiki but it seems to all become broken after version 33 when the information about that person says it did a lot of database changes.
(***) The script was not actually "broken" I added in $id =null; around line 190 to fix the problem.
The next puzzle after that, is why the latest images are not showing up on actual pages.. Though the images I uploaded do show up just fine.
EDIT:
So the new cleanupUsersWithNoId.php now got the "guest users" and the filelist now shows as in the image. So progress at least!
EDIT2:
Using cleanupUsersWithNoId.php from V35 of the wiki (i'm on 33 currently) seems to have brought back several more images and the Xenon animation is now back on the home page.. Calamus.jpg is still missing as well. odd.