Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243891

Change subject: Add missing doc tags to Wikibase Lua files
......................................................................

Add missing doc tags to Wikibase Lua files

Change-Id: I180368b54dee0996ba30078521915ec3eff9f64c
---
M client/includes/DataAccess/Scribunto/mw.wikibase.entity.lua
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/91/243891/1

diff --git a/client/includes/DataAccess/Scribunto/mw.wikibase.entity.lua 
b/client/includes/DataAccess/Scribunto/mw.wikibase.entity.lua
index 1878275..5a238fc 100644
--- a/client/includes/DataAccess/Scribunto/mw.wikibase.entity.lua
+++ b/client/includes/DataAccess/Scribunto/mw.wikibase.entity.lua
@@ -45,6 +45,7 @@
 
 -- Get the label for a given language code
 --
+-- @param entity
 -- @param langCode
 methodtable.getLabel = function( entity, langCode )
        checkTypeMulti( 'getLabel', 1, langCode, { 'string', 'number', 'nil' } )
@@ -70,6 +71,7 @@
 
 -- Get the sitelink title linking to the given site id
 --
+-- @param entity
 -- @param globalSiteId
 methodtable.getSitelink = function( entity, globalSiteId )
        checkTypeMulti( 'getSitelink', 1, globalSiteId, { 'string', 'number', 
'nil' } )
@@ -95,6 +97,7 @@
 
 -- Get the best statements with the given property id
 --
+-- @param entity
 -- @param propertyId
 methodtable.getBestStatements = function( entity, propertyId )
        if entity.claims == nil or not entity.claims[propertyId] then
@@ -136,6 +139,7 @@
 
 -- Get the formatted value of the claims with the given property id
 --
+-- @param entity
 -- @param propertyLabelOrId
 -- @param acceptableRanks
 methodtable.formatPropertyValues = function( entity, propertyLabelOrId, 
acceptableRanks )

-- 
To view, visit https://gerrit.wikimedia.org/r/243891
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I180368b54dee0996ba30078521915ec3eff9f64c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to