WikiPage::doUpdateRestrictions checks DB_MASTER
authorElliott Eggleston <ejegg@ejegg.com>
Thu, 20 Dec 2018 16:39:49 +0000 (11:39 -0500)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 7 Jan 2019 20:13:56 +0000 (20:13 +0000)
commitfa83f0d133ff8b9e7e9c9f85e13f78371783a4ce
tree51c80088b9b62128fc4162670b4b8eac507852b0
parent1c49ac519b87a1e86af6d1fb63a79d7160c90c94
WikiPage::doUpdateRestrictions checks DB_MASTER

This would prevent double entries in logs when the same protection
is applied twice within a few minutes. Trying out usage of the
parent patch's new functionality.

Bug: T210983
Change-Id: Ibd6e481db2faa5955f52f36d5d7368adc8747c9c
includes/page/WikiPage.php