if ( $limit > 0 && $time > $limit ) {
throw new DBTransactionError(
$db,
- wfMessage( 'transaction-duration-limit-exceeded', $time, $limit )->plain()
+ wfMessage( 'transaction-duration-limit-exceeded', $time, $limit )->text()
);
}
} );
"databaseerror-query": "Query: $1",
"databaseerror-function": "Function: $1",
"databaseerror-error": "Error: $1",
- "transaction-duration-limit-exceeded": "In order to avoid creating high replication lag, this transaction was aborted because the write duration ($1) exceeded the $2 second limit.\nIf you are changing many items at once, trying doing multiple smaller operations instead.",
+ "transaction-duration-limit-exceeded": "To avoid creating high replication lag, this transaction was aborted because the write duration ($1) exceeded the $2 {{PLURAL:$2|second|seconds}} limit.\nIf you are changing many items at once, try doing multiple smaller operations instead.",
"laggedslavemode": "<strong>Warning:</strong> Page may not contain recent updates.",
"readonly": "Database locked",
"enterlockreason": "Enter a reason for the lock, including an estimate of when the lock will be released",