From 295d139ef1579f03347fd5b02bf8c825a6f7dc0b Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 13 Oct 2021 14:02:57 +0100 Subject: [PATCH] Minor documentation fixes Change-Id: I6822c04c8d160431510e62752783e6829950dc36 --- modules/ve-mw/dm/models/ve.dm.MWTemplateSpecModel.js | 2 +- modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js | 1 + .../ui/widgets/ve.ui.MWTransclusionOutlineParameterWidget.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ve-mw/dm/models/ve.dm.MWTemplateSpecModel.js b/modules/ve-mw/dm/models/ve.dm.MWTemplateSpecModel.js index 20806e3905..ef46e6880e 100644 --- a/modules/ve-mw/dm/models/ve.dm.MWTemplateSpecModel.js +++ b/modules/ve-mw/dm/models/ve.dm.MWTemplateSpecModel.js @@ -252,7 +252,7 @@ ve.dm.MWTemplateSpecModel.prototype.isParameterAlias = function ( name ) { }; /** - * @param name Parameter name or alias + * @param {string} name Parameter name or alias * @return {boolean} */ ve.dm.MWTemplateSpecModel.prototype.isParameterDocumented = function ( name ) { diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js index 9cd9a87c6a..05369163e6 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js @@ -632,6 +632,7 @@ ve.ui.MWTemplateDialog.prototype.initializeTemplateParameters = function () {}; /** * @private + * @param {Object} visibility */ ve.ui.MWTemplateDialog.prototype.onFilterPagesByName = function ( visibility ) { for ( var pageName in visibility ) { diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineParameterWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineParameterWidget.js index ef3c98e92f..370afb9305 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineParameterWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineParameterWidget.js @@ -56,6 +56,7 @@ OO.inheritClass( ve.ui.MWTransclusionOutlineParameterWidget, OO.ui.OptionWidget /** * @private + * @param {jQuery.Event} e */ ve.ui.MWTransclusionOutlineParameterWidget.prototype.onMouseDown = function ( e ) { // Mouse clicks conflict with the click handler in {@see OO.ui.SelectWidget}