Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators, trusted
10,488
edits
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
local id = frame.args['volume'] .. '-' .. frame.args['page'] .. '-' .. frame.args['item'] | local id = frame.args['volume'] .. '-' .. frame.args['page'] .. '-' .. frame.args['item'] | ||
return id | return id | ||
end | |||
local function isempty(s) | |||
return s == nil or s == '' | |||
end | end | ||
Line 39: | Line 43: | ||
end | end | ||
if frame.args['archivist_notes'] | if isempty(frame.args['archivist_notes']) then | ||
str = 'by unknown author' | |||
else | |||
str = 'by ' .. frame.args['author'] | str = 'by ' .. frame.args['author'] | ||
end | end | ||