Add missing *Path properties to OOUIThemePaths

\ResourceLoaderOOUIFileModule extends \ResourceLoaderFileModule, so it
handles "localBasePath", "remoteExtPath" and "remoteSkinPath" properties
in code and works well as expected in reality.

But ExtensionJsonValidationTest fails because of the lack of the schema.
This fixes the false-negative failure.

Change-Id: I9d07a9b9984d934811478fef9cc2fe24cbbd3bc7
This commit is contained in:
lens0021 2021-04-19 18:30:16 +09:00
parent e7cb95d61e
commit c648468f1d
No known key found for this signature in database
GPG key ID: 85166D2A340F5595

View file

@ -992,6 +992,18 @@
"type": "object",
"additionalProperties": false,
"properties": {
"localBasePath": {
"type": "string",
"description": "Base path to prepend to all local paths, relative to current directory"
},
"remoteExtPath": {
"type": "string",
"description": "Base path to prepend to all remote paths, relative to $wgExtensionAssetsPath"
},
"remoteSkinPath": {
"type": "string",
"description": "Base path to prepend to all remote paths, relative to $wgStylePath"
},
"scripts": {
"type": "string",
"description": "Path to script file."