When originally introduced, a skin's templateDirectory was relative to core, rather than the skin itself. Most skins needed to set something like "skins/Example/templates", hardcoding the default value of $wgStyleDirectory. skin.json will now assume that the value of templateDirectory is relative to the skin itself. If that directory doesn't exist, we'll fallback and assume it's using the previous behavior of being relative to core. In practice this should not be a breaking change since no skin is expected to have a directory like "skins/Example/templates" inside the skin itself. Finally, ExtensionProcessor will set a default templateDirectory if one isn't already set, so in most cases this setting should be able to just be removed entirely. Bug: T262067 Change-Id: I434b8a4319f3c8b65bcaab3465224058f31e7ae8 |
||
|---|---|---|
| .. | ||
| ExtensionDependencyError.php | ||
| ExtensionJsonValidationError.php | ||
| ExtensionJsonValidator.php | ||
| ExtensionProcessor.php | ||
| ExtensionRegistry.php | ||
| Processor.php | ||
| VersionChecker.php | ||