Index: branches/wmf-deployment/includes/Setup.php |
— | — | @@ -41,6 +41,7 @@ |
42 | 42 | |
43 | 43 | if( $wgStylePath === false ) $wgStylePath = "$wgScriptPath/skins"; |
44 | 44 | if( $wgStyleDirectory === false) $wgStyleDirectory = "$IP/skins"; |
| 45 | +if( $wgExtensionAssetsPath === false ) $wgExtensionAssetsPath = "$wgScriptPath/extensions"; |
45 | 46 | |
46 | 47 | if( $wgLogo === false ) $wgLogo = "$wgStylePath/common/images/wiki.png"; |
47 | 48 | |
Index: branches/wmf-deployment/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: branches/wmf-deployment/RELEASE-NOTES |
— | — | @@ -89,6 +89,8 @@ |
90 | 90 | maintenance |
91 | 91 | * New hook AbortNewAccountAuto, called before account creation from AuthPlugin- |
92 | 92 | or ExtUser-driven requests. |
| 93 | +* Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath. |
| 94 | + If not specified it will default to $wgScriptPath/extensions |
93 | 95 | |
94 | 96 | === New features in 1.16 === |
95 | 97 | |