mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-13 17:53:17 +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
|
* @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;
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue