Page MenuHomePhabricator

Javascript error icw Vector skin
Closed, ResolvedPublic

Description

If you request your centralauth info when using the vector skin, and click the (?) in the Method row, you get the error:

centralauth.js:24
TypeError: Result of expression 'document.getElementById( 'globalWrapper' )' [null] is not an object.


Version: unspecified
Severity: normal

Details

Reference
bz23320

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:01 PM
bzimport set Reference to bz23320.

Created attachment 7330
vector compatibility

This patch uses the same method as WikiMiniAtlas uses to support the various skins.

Attached:

What link?

Does this still occur?

http://en.wikipedia.org/w/index.php?title=Special%3ACentralAuth&target=Reedy

Uncaught TypeError: Cannot call method 'appendChild' of null
6centralauth.js:29Uncaught TypeError: Cannot call method 'removeChild' of null
9
centralauth.js:29Uncaught TypeError: Cannot call method 'removeChild' of null
4
centralauth.js:29Uncaught TypeError: Cannot call method 'removeChild' of null
2
centralauth.js:29Uncaught TypeError: Cannot call method 'removeChild' of null

Still happens... Committed patch in r82101; needs testing in an actual environment but looks good.