Page MenuHomePhabricator

datepicker on Special:Contributions is broken
Closed, ResolvedPublic


When loading Special:Contributions on English Wikipedia (in Firefox) I sometimes get the JavaScript error:

TypeError: ucfrm.month is undefined

and the DateInputWidget doesn't pop-up when I click on a date input.

Event Timeline

Looks like it's the CIDR gadget.

CIDR Gadget produces this error on Google Chrome:

Uncaught TypeError: Cannot read property 'value' of undefined
    at HTMLDocument.prefixContribsInit (load.php?debug=true&lang=en&modules=ext.gadget.contribsrange&only=scripts&skin=vector&version=0j6bd…:51)

I get the same at WP:de (FF 53.0.3):
01:17:54.929 Exception in module-execute in module ext.gadget.contribsrange: 1 load.php:176:15
01:17:54.930 TypeError: ucfrm.month is undefined TypeError: ucfrm.month is undefined

So how can we proceed to fix this in all wikipedias?

@Herzi.Pinki: @MusikAnimal is working on an extension to replace the contribsrange gadget. In the meantime, I think people will just have to manually fix the gadgets.