wiki.techinc.nl/includes/registration
jdlrobson d3eda44624 registration: Make it easier to set a skin's templateDirectory
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
2021-08-27 00:22:38 -07:00
..
ExtensionDependencyError.php Update Legoktm's email address 2021-05-02 05:39:37 +00:00
ExtensionJsonValidationError.php Mark exceptions as @newable 2020-07-08 17:51:38 +00:00
ExtensionJsonValidator.php registration: Deprecate ParserTestFiles in extension.json 2019-06-02 21:53:31 -04:00
ExtensionProcessor.php registration: Make it easier to set a skin's templateDirectory 2021-08-27 00:22:38 -07:00
ExtensionRegistry.php Various updates and fixes to PHPDoc documentation 2021-08-09 09:26:23 +02:00
Processor.php registration: Stop double-caching config settings 2021-02-10 16:03:58 -08:00
VersionChecker.php Remove unneeded explicit true/false inside conditions 2021-08-17 21:52:34 +02:00