The script at
(or https://www.wikidata.org/w/extensions/Wikibase/view/lib/wikibase-data-values-value-view/lib/jquery.ui/jquery.ui.ooMenu.js?31222 )
has the line
if ( this.element.offset().left + this.element.outerWidth( true ) > $( window ).width() ) {
which causes the warning
JQMIGRATE: jQuery.fn.offset() requires an element connected to a document
in the console when visiting
https://www.wikidata.org/wiki/Special:Watchlist?debug=1