• Dan Scott's avatar
    Support any number of commas in a name · 5ceeb6a4
    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: 's avatarDan Scott <dscott@laurentian.ca>
    5ceeb6a4
index.html 3.24 KB