Page MenuHomePhabricator

TypeError: mw.popups.disableNavPopup is not a function
Closed, ResolvedPublic

Description

{
	"errorMessage": "TypeError: mw.popups.disableNavPopup is not a function",
	"url": "https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=ext.centralauth.ForeignApi%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.gadget.collapsibleTables%7Cext.popups.core%2Cdesktop%7Cext.popups.renderer.desktopRenderer%7Cext.popups.targets.desktopTarget%7Cext.uls.compactlinks%2Ceventlogger%2Ci18n%2Clanguagenames%2Cmediawiki%2Cmessages%2Cpt%7Cext.visualEditor.targetLoader%7Cext.wikimediaEvents.loggedin%7Cjquery.checkboxShiftClick%2CgetAttrs%2Chidpi%2ChighlightText%2Ci18n%2CjStorage%2CmakeCollapsible%2Cmw-jump%2Cplaceholder%2Csuggestions%2Culs%7Cjquery.uls.compact%2Cdata%2Cgrid%7Cmediawiki.ForeignApi%2CsearchSuggest%2Cstorage%7Cmediawiki.ForeignApi.core%7Cmediawiki.page.ready%7Cmediawiki.ui.button%7Cmoment%2Coojs%2Csite%7Cschema.GeoFeatures%2CNavigationTiming%2CPopups%2CSaveTiming%2CUniversalLanguageSelector&skin=vector&version=536ce41017e5",
	"lineNumber": 54,
	"columnNumber": 1808,
	"errorObject": {}
}
mw.popups.render.render()
 load.php:54
mw.popups.setupTriggers/<()
 load.php:35
jQuery.event.special[orig].handle()
 load.php:71
jQuery.event.dispatch()
 load.php:65
jQuery.event.add/elemData.handle()
 load.php:60
 load.php

when I first loaded
https://www.mediawiki.org/wiki/Special:PrefixIndex/Extension:AbuseFilter
using Firefox on linux.

The error didn't happen after I reloaded the page.

Event Timeline

Unable to recreate this on Firefox on MacOS. @He7d3r, do you see this error consistently?

Not really. I guess it is some kind of race condition (e.g. due to missing dependencies)

Are you able to recreate it at all? Or just not consistently?

I was not able to recreate it so far.

He7d3r added a project: JavaScript.

I see. Thanks for looking into this @He7d3r! I wonder if we should close the task.

Jdlrobson claimed this task.
Jdlrobson subscribed.

This should not be possible anymore as disableNavPopups is no longer in the code base.