Help:CheckReference
From Metabolomics.JP
(Difference between revisions)
| (7 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
==Discrepancy between References and Country Information== | ==Discrepancy between References and Country Information== | ||
| + | <!--- 問題ないので現在機能OFF | ||
{{Twocolumn| | {{Twocolumn| | ||
This is the list of people in the page Country/* that do NOT appear in references. | This is the list of people in the page Country/* that do NOT appear in references. | ||
| Line 8: | Line 9: | ||
{{#repeat:List_item|1| | {{#repeat:List_item|1| | ||
{{#repeat:CheckRefExistence|1| | {{#repeat:CheckRefExistence|1| | ||
| − | {{#SearchLine:&&|Reference|Country%}}}}| | + | {{#SearchLine:&&|Reference|Country/%}} |
| + | |\n}}|!!}} | ||
| + | ---> | ||
| − | |||
{{Twocolumn| | {{Twocolumn| | ||
This is the list of people who are not in the page Country/*. | This is the list of people who are not in the page Country/*. | ||
| Line 17: | Line 19: | ||
}} | }} | ||
| − | |||
| − | |||
{{#def:authors| | {{#def:authors| | ||
{{#lua: | {{#lua: | ||
| + | local all = {}; | ||
local L = {}; | local L = {}; | ||
| − | for | + | for line in stdin:gmatch("%S+") do |
| − | for au in string.gmatch(author," | + | table.insert(all, line); |
| + | local author = string.match(line, "[%a\._:]+"); | ||
| + | for au in string.gmatch(author,"[%a\._]+") do | ||
if (L[au] == nil) then L[au] = au; end; | if (L[au] == nil) then L[au] = au; end; | ||
end | end | ||
end | end | ||
| + | print(table.getn(all) .. "\n"); | ||
for k,v in pairs(L) do | for k,v in pairs(L) do | ||
print(k..":"); | print(k..":"); | ||
| Line 32: | Line 36: | ||
|{{#SearchTitle:___|Reference}}}}}} | |{{#SearchTitle:___|Reference}}}}}} | ||
| − | + | {{#var:authors}} | |
| − | {{#var:authors}} | + | |
| − | + | ||
| + | <!--- 問題ないので現在機能OFF | ||
{{Twocolumn| | {{Twocolumn| | ||
This is the list of people whose format in Country/* is incorrect. | This is the list of people whose format in Country/* is incorrect. | ||
| Line 41: | Line 44: | ||
国別所属リストでフォーマットが正しくない人たち | 国別所属リストでフォーマットが正しくない人たち | ||
}} | }} | ||
| − | |||
{{#repeat:List_item|1| | {{#repeat:List_item|1| | ||
{{#repeat:CheckCountryLine|1| | {{#repeat:CheckCountryLine|1| | ||
{{#SearchLine:&&|Reference|Country/%}}|\n}}|!!}} | {{#SearchLine:&&|Reference|Country/%}}|\n}}|!!}} | ||
---> | ---> | ||
Latest revision as of 16:28, 22 September 2008
[edit] Discrepancy between References and Country Information
This is the list of people who are not in the page Country/*.
0