Module:A or an: Difference between revisions

Content deleted Content added
m Protected "Module:A or an": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
fix
Line 28:
s = gsub(s, '%[%[[^%|]+%|(.-)%]%]', '%1') -- Remove wikilinks
s = gsub(gsub(s, '%[%[', ''), '%]%]', '')
s = gsub(s, '^["%$\'%(<%[%{¢-¥₠-B]+', '') -- Strip some symbols at the beginning
s = match(s, '^%.?[0-9%u%l]+') or s -- Extract the first word