Content deleted Content added
Updates for getting series data and publication dates, other tweaks/refactoring, from Sandbox. |
Fix for "unknown value" missing data. If no value set, don't return data for this entry. |
||
Line 194:
local function printReviewRow(frame, reviewscore)
local
score = reviewscore['mainsnak']['datavalue']['value'];
else
return "";
end;▼
local system = nil;
local
▲ local reference = nil;
if(reviewscore['qualifiers']['P400'] ~= nil and reviewscore['qualifiers']['P400'][1] ~= nil) then
Line 207 ⟶ 213:
end;
▲ score = reviewscore['mainsnak']['datavalue']['value'];
▲ ret = ret..score;
▲ end;
if(reviewscore['references'] ~= nil and reviewscore['references'][1] ~= nil and genRefs) then
|