Still trying to get a pretty old instalation of mediawiki 1.9.3 to the current version.
Successfully managed to repair a lot of wrong encodings, also converted all MyISAM to InnoDB - my first try is described in this post: https://www.mediawiki.org/w/index.php?title=Topic:V8fuqe8wd9q6w8wl&topic_showPostId=v8z0t80qsuhdatt7&fromnotif=1&markasread=1017963&markasreadwiki=mediawikiwiki#flow-post-v8z0t80qsuhdatt7
Thanks to all who made suggestions there - I finally followed the hint from Bawolff to convert the tables to InnoDB and also needed to create a table valid_tag. I finally run into this error: ... Checking existence of old default messages...[3a70e6878cc1e7a26a4b3333] [no req] UnexpectedValueException from line 169 of /data/localweb/www/wikin/includes/user/UserGroupMembership.php: UserGroupMembership::insert() needs a positive user ID. Did you forget to add your User object to the database before calling addGroup()? Backtrace:
- 0 /data/localweb/www/wikin/includes/user/User.php(3744): UserGroupMembership->insert(boolean)
- 1 /data/localweb/www/wikin/maintenance/deleteDefaultMessages.php(83): User->addGroup(string)
- 2 /data/localweb/www/wikin/maintenance/update.php(215): DeleteDefaultMessages->execute()
- 3 /data/localweb/www/wikin/maintenance/doMaintenance.php(96): UpdateMediaWiki->execute()
- 4 /data/localweb/www/wikin/maintenance/update.php(266): require_once(string)
- 5 {main}
the source referenced at #1 reads
$user->addGroup( 'bot' ); $wgUser = $user;
I already tried to omit the line $user-addGroup( 'bot '); - this lets the upgrade process finish successfully. But the History of changes is full of Changes made by the Upgrade process and they can not be filtered - probably due to the attribute 'bot' is not set for the user used to do the changes. I'd prefer to be able to filter these changes and leave the line in place.
Does anyone have an idea of how get around this problem?
B.T.W. Do you think that the script created to do this specific upgrade would be of any use for someone else? if so I will publish it here.
tia elgekf