Manual:$wgAntiLockFlags/zh

细节
防锁定标志. 这是一个位域. 常量在Defines.php中设置.


 * ALF_PRELOAD_LINKS : 在链接更新期间预加载链接以进行保存. （此选项自1.6.0起无效）
 * ALF_PRELOAD_EXISTENCE : 在replaceLinkHolders期间预加载cur_id. （此选项自1.5.0起无效）
 * ALF_NO_LINK_LOCK : Don't use locking reads when updating the link table. This is necessary for wikis with a high edit rate for performance reasons, but may cause link table inconsistency. (This option was introduced in 1.5.0)
 * ALF_NO_BLOCK_LOCK : As for ALF_LINK_LOCK, this flag is a necessity for high-traffic wikis. (This option was introduced in 1.5.0 and has no effect since 1.18.0)

例子
To reduce lock contention, at the expense of introducing occasional inconsistencies, set: