mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +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:
|
||||
this.$editableContent = $( '#mw-imagepage-content' );
|
||||
break;
|
||||
default:
|
||||
this.$editableContent = $( '#mw-content-text' );
|
||||
}
|
||||
} else {
|
||||
// TODO: Load view page content if switching from edit source
|
||||
|
|
Loading…
Reference in a new issue