Page MenuHomePhabricator

Special:MovePage is broken on beta with JS enabled
Closed, ResolvedPublic


image.png (561×903 px, 46 KB)

The network log for the page load has a failed sentry request

image.png (240×971 px, 30 KB)

Disabling JS and the page works as expected, I believe this is due to the sentry error.

See: T106920: Integrate Sentry with beta cluster

Event Timeline

Change 399680 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] BETA: unset $wgSentryDsn

What makes you think that? Sentry is a JS error logger so you'll see a Sentry request any time something is causing a JS error. The requests use Navigator.sendBeacon where supported and AJAX otherwise so whether or not the request fails does not make any difference.

IIRC Sentry does not suppress console logging so you should still see what caused the error.

The error I see is

Uncaught RangeError: Invalid language tag: deployment
    at new Collator (native)
    at MwWidgetsTitleInputWidget.MwWidgetsTitleWidget (
    at new MwWidgetsTitleInputWidget (
    at new MwWidgetsComplexTitleInputWidget (
    at Object.OO.ui.Element.static.unsafeInfuse (
    at Object.OO.ui.Element.static.infuse (
    at Object.OO.ui.infuse (
    at HTMLDocument.<anonymous> (
    at mightThrow (
    at process (

and indeed wgContentLanguage is deployment. Probably a bug in beta cluster config, although the widget should handle it more gracefully.

Change 399680 abandoned by Addshore:
BETA: set wmgSentryDsn to null

Addshore claimed this task.