Fix ContextItem documentation

* Be more specific about the type of context which a
  context item belongs to.
* Make grammar clearer.

Change-Id: I9bcc129766c3386582def0f346d6f175e54d6ff6
This commit is contained in:
Ed Sanders 2023-07-10 14:33:24 +01:00
parent d06b315b7c
commit b2fd0aa4d1
4 changed files with 8 additions and 8 deletions

View file

@ -12,8 +12,8 @@
* @extends ve.ui.MWReferenceContextItem
*
* @constructor
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} [config]
*/
ve.ui.MWCitationContextItem = function VeUiMWCitationContextItem() {

View file

@ -12,8 +12,8 @@
* @extends ve.ui.MWDefinedTransclusionContextItem
*
* @constructor
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} [config]
*/
ve.ui.MWCitationNeededContextItem = function VeUiMWCitationNeededContextItem() {

View file

@ -12,8 +12,8 @@
* @extends ve.ui.LinearContextItem
*
* @constructor
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} [config]
*/
ve.ui.MWReferenceContextItem = function VeUiMWReferenceContextItem() {

View file

@ -12,8 +12,8 @@
* @extends ve.ui.LinearContextItem
*
* @constructor
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} [config]
*/
ve.ui.MWReferencesListContextItem = function VeUiMWReferencesListContextItem() {