Module:STikiLeaderboard: Difference between revisions

Content deleted Content added
better error check for the leaderboard content
better error checks for leaderboard name
Line 1:
-- Get the raw leaderboard content.
local lb = mw.title.new('Wikipedia:STiki/leaderboard') or {}
local lbtext = (lb and lb:getContent()) or error('Could not find the leaderboard text')
 
-- Get a specific data value for a given username.