mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-23 14:07:01 +00:00
Define remote extension path for dynamic RL modules
This path is needed for URL expansion in debug mode. Bug: T378878 Change-Id: Ic7b067df2c03286575d0a390d90d6d2d4b3169e5
This commit is contained in:
parent
011e252439
commit
863391d7b8
|
@ -668,6 +668,7 @@ class SyntaxHighlight extends ExtensionTagHandler implements
|
|||
public function onResourceLoaderRegisterModules( ResourceLoader $rl ): void {
|
||||
$rl->register( 'ext.pygments.view', [
|
||||
'localBasePath' => MW_INSTALL_PATH . '/extensions/SyntaxHighlight_GeSHi/modules',
|
||||
'remoteExtPath' => 'SyntaxHighlight_GeSHi/modules',
|
||||
'scripts' => array_merge( [
|
||||
'pygments.linenumbers.js',
|
||||
'pygments.links.js',
|
||||
|
|
Loading…
Reference in a new issue