* 'remoteBasePath' => [base path],
* // Equivalent of remoteBasePath, but relative to $wgExtensionAssetsPath
* 'remoteExtPath' => [base path],
+ * // Equivalent of remoteBasePath, but relative to $wgStylePath
+ * 'remoteSkinPath' => [base path],
* // Scripts to always include
* 'scripts' => [file path string or array of file path strings],
* // Scripts to include in specific language contexts
$this->remoteBasePath = $wgExtensionAssetsPath . '/' . $options['remoteExtPath'];
}
+ if ( isset( $options['remoteSkinPath'] ) ) {
+ global $wgStylePath;
+ $this->remoteBasePath = $wgStylePath . '/' . $options['remoteSkinPath'];
+ }
+
foreach ( $options as $member => $option ) {
switch ( $member ) {
// Lists of file paths