Module:Mooc/Test
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Mooc/Test/doc
local inheritance = require("Module:Inheritance");
local Mooc = require("Module:Mooc");
local MyMooc = inheritance.extend(Mooc);
function MyMooc:getIndexUrl()
return "User:Sebschlicht/MoocIndex";
end
function MyMooc.render(frame)
local typeIdentifier = frame.args[1];
local itemPath = frame.args[2];
local mooc = MyMooc();
return mooc:renderItem(typeIdentifier, itemPath);
end
return MyMooc;