mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-18 01:30:45 +00:00
Fix WikiEditor dependencies
Change-Id: I81b90a8f1791f1664000637fb90e54f8741eac9a
This commit is contained in:
parent
d7509ab204
commit
73ac200c62
|
@ -47,8 +47,6 @@ class CodeEditorHooks {
|
|||
* @return bool
|
||||
*/
|
||||
public static function editPageShowEditFormInitial( $editpage, $output ) {
|
||||
$output->addModuleStyles( 'ext.wikiEditor.toolbar.styles' );
|
||||
|
||||
$title = $editpage->getContextTitle();
|
||||
$model = $editpage->contentModel;
|
||||
$format = $editpage->contentFormat;
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
"ext.codeEditor": {
|
||||
"scripts": "ext.codeEditor.js",
|
||||
"dependencies": [
|
||||
"ext.wikiEditor.toolbar",
|
||||
"jquery.codeEditor"
|
||||
],
|
||||
"group": "ext.wikiEditor"
|
||||
|
@ -50,7 +49,7 @@
|
|||
"scripts": "jquery.codeEditor.js",
|
||||
"styles": "jquery.codeEditor.less",
|
||||
"dependencies": [
|
||||
"jquery.wikiEditor",
|
||||
"ext.wikiEditor",
|
||||
"ext.codeEditor.ace",
|
||||
"jquery.ui.resizable",
|
||||
"mediawiki.api",
|
||||
|
|
Loading…
Reference in a new issue