mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-27 15:50:37 +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
(cherry picked from commit 863391d7b8
)
This commit is contained in:
parent
8b2f3c793a
commit
7cafca3083
|
@ -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