Mediawiki updates break previous install (solved)Posted: November 2, 2015
My ISP Dreamhost updated MediaWiki (the software that drives Wikipedia) last week. The result was that all Wikis on my domains broke.
There were two sets of problems as it turned out.
1054 Unknown column ‘page_links_updated’ in ‘field list’
The initial symptom was a page that read
A database query error has occurred. This may indicate a bug in the software
A quick search found that I could get more information to add
$wgShowSQLErrors = true; to
LocalSettings.php. The result was a 1054 error:
1054 Unknown column 'page_links_updated' in 'field list'. Googling around discovered this page, where I learned that I needed to run
Deprecated method for loading skins
This allowed the site to load properly, but it led to the second error: a series of warnings about deprecated skins. The site loaded, but the top of the page was full of error messages.
The solution for this was quite simple:
- Navigate into
- Move all files ending in
.phpout of the directory (you need to remove them entirely, not simply rename them). I moved them to a new directory completely outside the parent wiki folder.