Merge "ArticleTarget: Make save commands triggerable from anywhere"

This commit is contained in:
jenkins-bot 2017-09-13 15:40:19 +00:00 committed by Gerrit Code Review
commit 779dcc2164

View file

@ -196,6 +196,18 @@ ve.init.mw.ArticleTarget.static.integrationType = 'page';
*/
ve.init.mw.ArticleTarget.static.platformType = 'other';
/**
* @inheritdoc
*/
ve.init.mw.ArticleTarget.static.documentCommands = ve.init.mw.ArticleTarget.super.static.documentCommands.concat( [
// Make save commands triggerable from anywhere
'showSave',
'showChanges',
'showPreview',
'showMinoredit',
'showWatchthis'
] );
/* Methods */
/**