Please don't start your line of thought from the subject line, repeat the subject in the body.
Subject: I get many errors at wikipedia.org, like this one
NSK wrote:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: SELECT cur_id,cur_namespace,cur_title FROM `cur`,`links` WHERE cur_id=l_to AND l_from=1387711 FOR UPDATE from within function "LinkCache::preFill". MySQL returned error "1213: Deadlock found when trying to get lock; Try restarting transaction (10.0.0.1)".
Here's my answer that I gave at the Village Pump:
"In most browsers you can just hit refresh, your browser will point out that you're posting data and ask you if you are sure you want to repeat the operation, say yes. Deadlocks can be dealt with in software, but it's hard to know in advance what parts of the software will cause them."
The way we deal with them in software is just to repeat the transaction, so by hitting refresh you're doing the same thing manually.
-- Tim Starling