Content deleted Content added
fix |
defined check already in add_category |
||
Line 110:
local rows, collapsed, nested_ratings, task_forces, notes, categories = {}, {}, {}, {}, {}, {}
local add_category = function(category, key)
if category and category~='none' and not demo then
local cat_link = wikilink('Category:' .. category, key)
table.insert(categories, cat_link)
Line 467:
local note_default_size = args.NOTE_SIZE or args.NOTE_1_SIZE or 'x25px'
local render_note = function(note_args)--text, image_name, size, category, sort_prefix
▲ add_category(note_args.category2)
if note_args.text then
local note_image = note_args.image_name and image{
|