17,273
edits
m (okay so it wasn't completely unnecessary. fixing the thing that depended on it.) |
(and the other one) |
||
Line 116: | Line 116: | ||
function buildTable( categoryProps, pageGroups ) | function buildTable( categoryProps, pageGroups ) | ||
local content = mw.html.create( 'table' ) | local content = mw.html.create( 'table' ) | ||
if #pageGroups.default then | if pageGroups.default and #pageGroups.default then | ||
local defaultCell = content:tag( 'tr' ) | local defaultCell = content:tag( 'tr' ) | ||
:tag( 'td' ) | :tag( 'td' ) |