mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Merge "Update JSDocs related to the reference re-use dialog"
This commit is contained in:
commit
442ba0bf6b
|
@ -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