Page MenuHomePhabricator

VisualEditor: no drop-down when editing a wikilink on nds-nlwiki
Closed, ResolvedPublic

Description

On all wikis where I've used the VisualEditor, a drop-down appears when editing a wikilink, as shown in the manual. Except not on nds-nlwiki. What's wrong?

Event Timeline

This is because of the method Array.prototype.intersects defined in https://nds-nl.wikipedia.org/wiki/MediaWiki:Common.js. Extending the native object's prototypes is not supported by MediaWiki: https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Prototyping.

This is because of the method Array.prototype.intersects defined in https://nds-nl.wikipedia.org/wiki/MediaWiki:Common.js. Extending the native object's prototypes is not supported by MediaWiki: https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Prototyping.

Indeed. I removed that function and now it works as expected.

ppelberg claimed this task.