mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Revert "Use debug() for stash messages to match core"
This reverts commit 693b28a4bb
.
Bug: T139469
Change-Id: I54ae58a113977ffa31f0a82b2ca93938b35e842b
This commit is contained in:
parent
693b28a4bb
commit
660cae8514
|
@ -8,8 +8,6 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
use MediaWiki\Logger\LoggerFactory;
|
||||
|
||||
class ApiVisualEditor extends ApiBase {
|
||||
// These are safe even if VE is not enabled on the page.
|
||||
// This is intended for other VE interfaces, such as Flow's.
|
||||
|
@ -144,8 +142,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
|
||||
$status = ApiStashEdit::parseAndStash( $page, $content, $this->getUser(), '' );
|
||||
if ( $status === ApiStashEdit::ERROR_NONE ) {
|
||||
$logger = LoggerFactory::getInstance( 'StashEdit' );
|
||||
$logger->debug( 'StashEdit', "Cached parser output for VE content key '$key'." );
|
||||
wfDebugLog( 'StashEdit', "Cached parser output for VE content key '$key'." );
|
||||
}
|
||||
$this->getStats()->increment( "editstash.ve_cache_stores.$status" );
|
||||
|
||||
|
|
Loading…
Reference in a new issue