Page MenuHomePhabricator

JavaScript errors on
Closed, InvalidPublic


On Firefox throws

Error: Widget not found: wpNewTitle

on line 691.

Maybe related: The gadget loads the module 'mediawiki.special.movePage'.

Event Timeline

Fomafix created this task.Apr 11 2017, 7:45 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 11 2017, 7:45 AM
Fomafix updated the task description. (Show Details)Apr 11 2017, 8:57 AM

I can reproduce the second error on a local installation. Therefor I created the separate task T162667.

I first error is related on the gadget because it loades the module 'mediawiki.special.movePage'. The module should be more robust so it does not throw an error.

I don't think this is a MediaWiki bug. 'mediawiki.special.movePage' indeed requires the #wpNewTitle element to be present on the page, but it can do that, because that element is normally always present. I don't actually see how this problem could be happening, hm…

Fomafix closed this task as Invalid.Apr 12 2017, 10:14 PM

In I created a variant of the gadget which loads the module only when the elements are present. This should avoid the error of this task. Of course the gadget can still improved.

Invalid. Not a bug in MediaWiki.