Skip to content
  • Dan Scott's avatar
    Support any number of commas in a name · 32ab24bb
    Dan Scott authored
    
    
    We had been inverting names only if they contained a single comma (for example,
    "Silver, Liberty" would be converted to "Liberty Silver"). However, this left
    names like "Marriner, Neville, Sir" as simply being passed in their original
    comma-delimited order, which had no chance of finding a match in Wikidata.
    
    Instead, concatenate the results in inverse order, no matter how many commas
    there are. The test record now contains an example entry for this situation.
    
    Signed-off-by: default avatarDan Scott <dscott@laurentian.ca>
    32ab24bb