A few errors related to the same code:
- TypeError: Cannot read properties of undefined (reading 'set')
- TypeError: can't access property "set", mw.user.clientPrefs is undefined
- TypeError: Cannot read property 'set' of undefined
- TypeError: mw.user.clientPrefs is undefined
- TypeError: undefined is not an object (evaluating 'mw.user.clientPrefs.set')
Over 4000 errors in the 12 hours or so. Stack trace for the second error is the most helpful:
at init https://en.wikipedia.org/w/load.php?lang=en&modules=ext.wikimediaCustomizations.donorDelightBadge&skin=minerva&version=4kjzd:1:439 at mightThrow https://en.wikipedia.org/w/load.php?lang=en&modules=ext.centralNotice.choiceData%7Cjquery%7Cmediawiki.base&skin=minerva&version=13xnt:46:983 at Deferred/then/resolve/</process< https://en.wikipedia.org/w/load.php?lang=en&modules=ext.centralNotice.choiceData%7Cjquery%7Cmediawiki.base&skin=minerva&version=13xnt:47:643
This is related to the donor badge experiment in WikimediaCustomizations.
Steps to replicate the issue (include links if applicable):
What happens?:
What should have happened instead?:
Software version: 1.47.0-wmf.4
Other information: Specific to MinervaNeue
