Last modified: 2014-07-03 16:05:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69478, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67478 - With a sample rate of 1:100 users are sent into infinite loop
With a sample rate of 1:100 users are sent into infinite loop
Status: RESOLVED DUPLICATE of bug 67420
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-03 16:02 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-07-03 16:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2014-07-03 16:02:24 UTC
With a sample rate of 1:100 users are sent into infinite JavaScript loop crashing browsers etc. See https://commons.wikimedia.org/wiki/Commons:Forum#Anmeldung.3F

Reason:
mediawiki-extensions-WikimediaEvents/blob/master/modules/ext.wikimediaEvents.deprecate.js
logs deprecation events.

mediawiki-extensions-EventLogging/blob/wmf/1.24wmf11/modules/ext.eventLogging.core.js
trigger deprecation events by using $.toJSON

This has since been fixed. Please backport.
Comment 1 James Forrester 2014-07-03 16:03:02 UTC

*** This bug has been marked as a duplicate of bug 67420 ***
Comment 2 Rainer Rillke @commons.wikimedia 2014-07-03 16:05:08 UTC
mw.trackSubscribe( 'mw.deprecate', function ( topic, deprecated ) {
mw.loader.using( [ 'mediawiki.inspect', 'schema.DeprecatedUsage' ], function () {
mw.eventLog.logEvent( 'DeprecatedUsage', {
method: deprecated,
pageId: mw.config.get( 'wgArticleId' ),
revId: mw.config.get( 'wgCurRevisionId' ),
version: mw.config.get( 'wgVersion' ),
modules: mw.inspect.grep( deprecated ).join(',')
} );
} );
} );
$.toJSON();

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links