mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Update JSDocs related to the reference re-use dialog
Bug: T375053 Change-Id: I69a5caa8de730328ce4b5e2f92d9e04dcc576b6d
This commit is contained in:
parent
990ea23797
commit
9ceabba9fe
|
@ -12,9 +12,12 @@
|
|||
*
|
||||
* @constructor
|
||||
* @extends OO.ui.OptionWidget
|
||||
* @param {Object} config Configuration options
|
||||
* @param {Object} config.item Result item
|
||||
* @param {Object} config.reuseMenu
|
||||
* @param {Object} config
|
||||
* @param {Object} config.item An item from the search index in ve.ui.MWReferenceSearchWidget
|
||||
* @param {ve.dm.MWReferenceModel} config.item.reference
|
||||
* @param {string} config.item.name
|
||||
* @param {string} config.item.footnoteLabel e.g. "note 1"
|
||||
* @param {OO.ui.Element} [config.reuseMenu]
|
||||
*/
|
||||
ve.ui.MWReferenceResultWidget = function VeUiMWReferenceResultWidget( config ) {
|
||||
config = ve.extendObject( {
|
||||
|
|
|
@ -207,8 +207,8 @@ ve.ui.MWReferenceSearchWidget.prototype.isIndexEmpty = function () {
|
|||
|
||||
/**
|
||||
* @private
|
||||
* @return {OO.ui.Toolbar}
|
||||
* @param {ve.dm.MWReferenceModel} ref
|
||||
* @return {OO.ui.ButtonMenuSelectWidget}
|
||||
*/
|
||||
ve.ui.MWReferenceSearchWidget.prototype.buildReuseOptionsMenu = function ( ref ) {
|
||||
// TODO: Select the row on menu button click, so we don't have to wire ref
|
||||
|
|
Loading…
Reference in a new issue