Help:CheckReference

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
 
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 10: Line 11:
 
{{#SearchLine:&&|Reference|Country/%}}
 
{{#SearchLine:&&|Reference|Country/%}}
 
|\n}}|!!}}
 
|\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 19: Line 19:
 
}}
 
}}
  
 
この機能は計算量が多すぎて駄目なのに加え、オンラインでリファレンスがない文献の著者はそもそもデータがないためにうまく機能せず
 
 
{{#def:authors|
 
{{#def:authors|
 
{{#lua:
 
{{#lua:
 +
  local all = {};
 
   local L = {};
 
   local L = {};
   for author in stdin:gmatch("([%a\._:]+),%S+") do
+
   for line in stdin:gmatch("%S+") do
 +
    table.insert(all, line);
 +
    local author = string.match(line, "[%a\._:]+");
 
     for au in string.gmatch(author,"[%a\._]+") do
 
     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 34: Line 36:
 
|{{#SearchTitle:___|Reference}}}}}}
 
|{{#SearchTitle:___|Reference}}}}}}
  
{{#repeat:CheckAuthorExistence|1|
+
{{#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 43: 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


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox