mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Disable error logging
The rate is unexpected: over 5 million in the last 7 days I don't time to investigate this further so suggest disabling this for now. Change-Id: Ie55d1da1652239ad4f6ea94743d6efdd12de9974
This commit is contained in:
parent
6d78d364d9
commit
6d0cdc9e45
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -312,15 +312,6 @@ export function bindBehavior( preview, behavior ) {
|
|||
|
||||
behavior.showSettings( event );
|
||||
} );
|
||||
} else if (
|
||||
preview.el.classList.contains( 'mwe-popups-type-reference' ) &&
|
||||
mw.config.get( 'wgPopupsReferencePreviewsBetaFeature' )
|
||||
) {
|
||||
// The reference preview when in beta feature doesn't have a settings cog (T346404).
|
||||
return;
|
||||
} else {
|
||||
const err = new Error( 'Page previews: No settings button found in preview.' );
|
||||
mw.errorLogger.logError( err, 'error.web-team' );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue