mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-30 09:54:19 +00:00
Use single quotes instead of double quotes in PHP
Change-Id: I9d32e36a14c25139cd735bd6657c5d46df573e15
This commit is contained in:
parent
9b1bd68d98
commit
bcb7eed32d
|
@ -50,9 +50,9 @@ class CodeEditorHooks {
|
|||
$output->addModules( 'ext.codeEditor' );
|
||||
$output->addJsConfigVars( 'wgCodeEditorCurrentLanguage', $lang );
|
||||
// Needed because ACE adds a blob: url web-worker.
|
||||
$output->getCSP()->addScriptSrc( "blob:" );
|
||||
} elseif ( !ExtensionRegistry::getInstance()->isLoaded( "WikiEditor" ) ) {
|
||||
throw new ErrorPageError( "codeeditor-error-title", "codeeditor-error-message" );
|
||||
$output->getCSP()->addScriptSrc( 'blob:' );
|
||||
} elseif ( !ExtensionRegistry::getInstance()->isLoaded( 'WikiEditor' ) ) {
|
||||
throw new ErrorPageError( 'codeeditor-error-title', 'codeeditor-error-message' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue