Increase accuracy of logging metadata compilation attempts
Increase accuracy of logging metadata compilation attempts

As Krinkle noted, the logging statement was not entirely accurate as it ignored
a conditional check on $acp. This patch moves the check for whether the request
was POSTed after ArticleCompileProcess::newFromPageId() has run; it also adds
back the DB_REPLICA parameter to that method as otherwise we'd have master
connection warnings on GET.

Follow up from 0c76ac1a261f043b5c69c19947d98371ef270823

Bug: T199699
Bug: T154719
Change-Id: Ic039870945a332519a1c5d2adfbee5a327b82abf

wikimedia/mediawiki-extensions-PageTriage,wikimedia/mediawiki-extensions-PageTriage,wikimedia/mediawiki-extensions-PageTriage