Content deleted Content added
add code for category rendering |
more structure rearranging |
||
Line 33:
-- * oldid
-- * paramNum
function Action.new()
local obj = setmetatable({}, Action)
return obj
end
function Action:getResult()
Line 53 ⟶ 58:
-------------------------------------------------------------------------------
-- Status class
-- Status objects deal with possible current statuses of the article.
-------------------------------------------------------------------------------
local Status = {}
Status.__index = Status
-------------------------------------------------------------------------------
-- DoubleStatus class
-- For when an article can have two distinct statuses, e.g. former featured
-- article status and good article status.
-------------------------------------------------------------------------------
local DoubleStatus = {}
DoubleStatus.__index = DoubleStatus
-------------------------------------------------------------------------------
|