Merge "Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages"

This commit is contained in:
jenkins-bot 2016-05-26 17:03:34 +00:00 committed by Gerrit Code Review
commit 3fbb170c7a

View file

@ -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