mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
html2wt: Use info level for unactionable Cite logspam caused by CX usage
Content Translation can lead to Cite references to nodes that aren't present in the translated document. For now, I've suppressed these log entries in Parsoid's logstash dashboard. But, there is no reason to continue emitting these at error level given the large volume of CX pages and hence a large volume of these non-actionable log entries. Change-Id: I8df7e722203d7b866d987d626215bcd53b945d60
This commit is contained in:
parent
20e5117622
commit
15a38973c7
|
@ -218,7 +218,9 @@ class Ref extends ExtensionTagHandler {
|
|||
}
|
||||
if ( !$editedHtml ) {
|
||||
$extApi->log(
|
||||
'error/domdiff/edited/ref',
|
||||
// use info level to avoid logspam for CX edits where translated
|
||||
// docs might reference nodes not copied over from orig doc.
|
||||
'info/domdiff/edited/ref',
|
||||
"extension src id {$editedId} points to non-existent element for:",
|
||||
DOMCompat::getOuterHTML( $editedNode )
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue