author count, compare numbers to numbers
This commit is contained in:
parent
0f2ae4f34d
commit
746e3a3947
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ local function _cite_q (citeq_args)
|
|||
local missing_names = {}
|
||||
for i, author in pairs(names.authors or {}) do
|
||||
-- mw.logObject(author)
|
||||
if not author.last and i <= (citeq_args['display-authors'] or author_count) then
|
||||
if not author.last and i <= (tonumber (citeq_args['display-authors']) or tonumber (author_count)) then
|
||||
if author.qid then
|
||||
-- ignore anonymous
|
||||
if author.qid ~= 'Q4233718' then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue