Dan Tomlinson wrote:
Brion Vibber wrote:
El 5/1/09 1:57 PM, Ilmari Karonen escribió:
This does look broken: it's detecting that the archive table doesn't exist and skipping a check, only to blindly attempt to access it two lines later.
Presumably the updater should be fixed to create the archive table if it's missing, unless we have some valid reason to support setups without an archive table(?!?).
The archive table already existed in our first release, so there's no update step to add it.
If it's the only thing missing, then cut-n-pasting the table definition out of tables.sql and manually adding it may resolve the issue.
-- brion
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Brion,
thanks for that! I ran the archive section of tables.sql on the database and then ran update.php - it worked flawlessly :)
I'm not sure how I ended up without that table, but my predecessor did have a tendency to hack things to pieces (and not bother to document what he had done).
Thanks for the quick response!
Dan
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi all,
I spoke to soon it seems. The wiki is now up and running with the new database structure under 1.14.0 but I have noticed a problem with user accounts and specifically capitalisation.
Our wiki uses HTML basic auth (hooked into the university web authentication system) so people's university usernames are automatically passed through into mediawiki.
The problem is, even though the code we used to override AuthPlugin is the same as the one we used in the previous version, something weird has happened which means that our usernames (previously all lowercase) are now no-longer valid. Mediawiki seems to always capitalise the first letter of each username which means that I can't access user pages.
For example, the link:
http://www.myserver.ac.uk/mediawiki/index.php/User:yjl24
... automatically becomes:
http://www.ccbi.cam.ac.uk/micklemlab/index.php/User:Yjl24
... when I try to access it and I am informed that "There is currently no text in this page.".
I realise that this is probably a feature of the newer version of mediawiki rather than a bug as such, but I would like to disable this feature to allow me to have all lower case usernames in line with our uni web auth system.
I would be very happy if someone could point me in the right direction so I have a solution and am able to make our user pages accessible again. I'm happy to include any and all relevant source code if necessary.
Thanks in advance, Dan T.