Fix WikiEditor dependencies

Change-Id: I81b90a8f1791f1664000637fb90e54f8741eac9a
This commit is contained in:
Ed Sanders 2018-01-03 20:18:59 +00:00
parent d7509ab204
commit 73ac200c62
2 changed files with 1 additions and 4 deletions

View file

@ -47,8 +47,6 @@ class CodeEditorHooks {
* @return bool * @return bool
*/ */
public static function editPageShowEditFormInitial( $editpage, $output ) { public static function editPageShowEditFormInitial( $editpage, $output ) {
$output->addModuleStyles( 'ext.wikiEditor.toolbar.styles' );
$title = $editpage->getContextTitle(); $title = $editpage->getContextTitle();
$model = $editpage->contentModel; $model = $editpage->contentModel;
$format = $editpage->contentFormat; $format = $editpage->contentFormat;

View file

@ -41,7 +41,6 @@
"ext.codeEditor": { "ext.codeEditor": {
"scripts": "ext.codeEditor.js", "scripts": "ext.codeEditor.js",
"dependencies": [ "dependencies": [
"ext.wikiEditor.toolbar",
"jquery.codeEditor" "jquery.codeEditor"
], ],
"group": "ext.wikiEditor" "group": "ext.wikiEditor"
@ -50,7 +49,7 @@
"scripts": "jquery.codeEditor.js", "scripts": "jquery.codeEditor.js",
"styles": "jquery.codeEditor.less", "styles": "jquery.codeEditor.less",
"dependencies": [ "dependencies": [
"jquery.wikiEditor", "ext.wikiEditor",
"ext.codeEditor.ace", "ext.codeEditor.ace",
"jquery.ui.resizable", "jquery.ui.resizable",
"mediawiki.api", "mediawiki.api",