Module:Update: Difference between revisions

No edit summary
No edit summary
 
Line 242: Line 242:
local cat = ''
local cat = ''
-- cats only in update namespace
-- cats only in update namespace
if title.namespace == 100 then
if title.namespace == 3000 then
cat = '[[Category:' .. get_update_category(a.category) .. '|' .. postTitle .. ']]'
cat = '[[Category:' .. get_update_category(a.category) .. '|' .. postTitle .. ']]'
cat = cat .. get_time_categories(day, month, year)
cat = cat .. get_time_categories(day, month, year)
Line 375: Line 375:
-- not update namespace, remove cat
-- not update namespace, remove cat
if title.namespace ~= 100 then
if title.namespace ~= 3000 then
cat = ''
cat = ''
end
end
Line 469: Line 469:
-- cats only in update namespace
-- cats only in update namespace
if title.namespace == 100 then
if title.namespace == 3000 then
cat = '[[Category:Developer Blogs|' .. blogtitle .. ']]'
cat = '[[Category:Developer Blogs|' .. blogtitle .. ']]'
cat = cat .. get_time_categories(day, month, year)
cat = cat .. get_time_categories(day, month, year)