Page MenuHomePhabricator

Migrate MediaWiki core jsduck settings to work with JSDuck 5
Closed, ResolvedPublic

Description

JSDuck has introduced various new annotations (such as @fires to complement @Event which we're already using). However 4.x and 5.x is a pretty significant upgrade so we should make sure we're compatible and there are no regressions before we upgrade.


Version: unspecified
Severity: enhancement

Details

Reference
bz55752

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:37 AM
bzimport set Reference to bz55752.

Related changes:

  • Support JSDuck v5.x Change-Id: Ie6649a3e39457bde7a0d8bd00da8ea53e76e3085

Related changes:

  • mediawiki.Title: Correct documentation structure for Title.exist Change-Id: If0c66e6e8a904769ee857c1ee94377dc13000d41

Related changes:

  • mediawiki-core-jsduck: Switch over to using the refreshed script Depends on Ie6649a3e39457bde7 in mediawiki-core. Change-Id: I39785a2ba80b4230170c1794b1fc354ca0efd7dd

This was the last required change. Though the previous two changes in mediawiki-core did enough to make it jsduck v5 compatible, the jenkins job was still using the jsduck/config.json file directly instead of the maintenance script (which has where jsduck v4/v5 compat switch is).

We're now safe to upgrade.