Module:GetShortDescription/sandbox: Difference between revisions

Content deleted Content added
provide indicator if falling back to wikidata
cleanup
Line 1:
 
local getArgs = require( 'Module:Arguments' ).getArgs
local mLang = require( 'Module:Lang' )
Line 183 ⟶ 184:
local args = getArgs( frame )
if isEmpty( args ) then return alarmingMessage( 'could not getArgs' ) end
local d =return getShortDescription( args ) or ''
mw.logObject( d )
return d
end