wikipedia.summary(search) appears to be returning the summary for the article that would be returned if the string contained in search were truncated by one letter.
ex.
wikipedia.summary("math", sentences=1) returns "A match is a tool for starting a fire." which is the proper results for the search "match" (assuming autocomplete is on.)
wikipedia.summary("mathp", sentences=1) returns "Mathematics (from Greek: , mthma, 'knowledge, study, learning') includes the study of such topics as quantity (number theory), structure (algebra), space (geometry), and change (analysis)."
wikipedia.summary(search) appears to be returning the summary for the article that would be returned if the string contained in search were truncated by one letter. ex. wikipedia.summary("math", sentences=1) returns "A match is a tool for starting a fire." which is the proper results for the search "match" (assuming autocomplete is on.) wikipedia.summary("mathp", sentences=1) returns "Mathematics (from Greek: , mthma, 'knowledge, study, learning') includes the study of such topics as quantity (number theory), structure (algebra), space (geometry), and change (analysis)."