Page MenuHomePhabricator

extension.json schema does not support custom parameters/classes for "ResourceModules"
Closed, ResolvedPublic


Custom RL modules can define their own parameters, so validating against the ResourceLoaderFileModule ones isn't going to work. We need to:

  • Remove the "additionalProperties": false,
  • Not validate parameters if a 'class' property is set.

Event Timeline

Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added subscribers: Legoktm, Krinkle.

Change 228753 had a related patch set uploaded (by Legoktm):
registration: Support custom classes in "ResourceModules" schema

Krinkle triaged this task as Medium priority.Aug 5 2015, 1:03 AM
Krinkle set Security to None.
Krinkle moved this task from Inbox to Accepted Enhancement on the MediaWiki-ResourceLoader board.

Change 228753 merged by jenkins-bot:
registration: Support custom classes in "ResourceModules" schema