Index: trunk/phase3/includes/Setup.php |
— | — | @@ -40,6 +40,7 @@ |
41 | 41 | |
42 | 42 | if( $wgStylePath === false ) $wgStylePath = "$wgScriptPath/skins"; |
43 | 43 | if( $wgStyleDirectory === false) $wgStyleDirectory = "$IP/skins"; |
| 44 | +if( $wgExtensionAssetsPath === false ) $wgExtensionAssetsPath = "$wgScriptPath/extensions"; |
44 | 45 | |
45 | 46 | if( $wgLogo === false ) $wgLogo = "$wgStylePath/common/images/wiki.png"; |
46 | 47 | |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -142,9 +142,11 @@ |
143 | 143 | * splitting style sheets or images outside the main document root. |
144 | 144 | */ |
145 | 145 | /** |
146 | | - * style path as seen by users |
| 146 | + * asset paths as seen by users |
147 | 147 | */ |
148 | 148 | $wgStylePath = false; ///< defaults to "{$wgScriptPath}/skins" |
| 149 | +$wgExtensionAssetsPath = false; ///< defaults to "{$wgScriptPath}/extensions" |
| 150 | + |
149 | 151 | /** |
150 | 152 | * filesystem stylesheets directory |
151 | 153 | */ |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -88,6 +88,8 @@ |
89 | 89 | signatures. This was always the behaviour documented in DefaultSettings.php |
90 | 90 | but has not been the actual behaviour for some time: instead, UTC was used |
91 | 91 | by default. |
| 92 | +* Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath. |
| 93 | + If not specified it will default to $wgScriptPath/extensions |
92 | 94 | |
93 | 95 | |
94 | 96 | === New features in 1.16 === |