Module:Mooc/Test

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;