Difference between revisions of "Module:Extension"
Jump to navigation
Jump to search
Add ExtensionJson tracking category via getExtensionJsonCategory()
>Samwilson (Use cat() for categorization.) |
>Samwilson (Add ExtensionJson tracking category via getExtensionJsonCategory()) |
||
Line 435: | Line 435: | ||
end | end | ||
end | end | ||
-- -- | |||
-- Get a category if the extension isn't in Module:ExtensionJson. | |||
-- | |||
function p.getExtensionJsonCategory( frame ) | |||
if getExtData() == nil then | |||
return cat( 'Extensions not in ExtensionJson' ) | |||
end | |||
end | |||
return p | return p |