mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 18:49:22 +00:00
Fix logic in RL module conditional registration
In 4a6ddad
I made it to not load VisualEditor resources whenever
VisualEditor is enabled. Reverse the logic.
Change-Id: I6297f1c8ada84967416f747dbfc7c56084b05c51
This commit is contained in:
parent
4a6ddadf73
commit
47dfb84689
|
@ -504,7 +504,7 @@ class SyntaxHighlight_GeSHi {
|
|||
* @return true
|
||||
*/
|
||||
public static function onResourceLoaderRegisterModules( &$resourceLoader ) {
|
||||
if ( ExtensionRegistry::getInstance()->isLoaded( 'VisualEditor' ) ) {
|
||||
if ( ! ExtensionRegistry::getInstance()->isLoaded( 'VisualEditor' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue