mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Merge "Follow-up 1dc933be
: Don't fatal when editing non-NS0/6/14 pages"
This commit is contained in:
commit
3fbb170c7a
|
@ -89,6 +89,8 @@ ve.init.mw.DesktopArticleTarget = function VeInitMwDesktopArticleTarget( config
|
||||||
case namespaceIds.file:
|
case namespaceIds.file:
|
||||||
this.$editableContent = $( '#mw-imagepage-content' );
|
this.$editableContent = $( '#mw-imagepage-content' );
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
this.$editableContent = $( '#mw-content-text' );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: Load view page content if switching from edit source
|
// TODO: Load view page content if switching from edit source
|
||||||
|
|
Loading…
Reference in a new issue