Last modified: 2011-03-26 17:48:27 UTC
Example: http://fanon.clubpenguinwiki.info/wiki/User:Railfan1 The error: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "UserBoard::getUserBoardMessages". Database returned error "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR (ub_user_id=543 AND ub_user_id_from=2) ) ORDER BY ub_id DESC LIMIT 10,0' at line 1 (mysql.clubpenguinwiki.info)".
Meh, updated trunk and it works.
This was caused by r84617, which I've reverted in r84806. To clarify, MediaWiki was generating invalid SQL, something like SELECT ... FROM user_board WHERE ub_type = '0' AND ub_user_id = something AND ( OR (ub_user_id=543 AND ub_user_id_from=2) ) ORDER BY ... -- it should have been just OR, without any useless ANDs. I don't know how to do that though, so I just ended up reverting the commit that broke it.