Module:Sort title and Module:Sort title/sandbox: Difference between pages
(Difference between pages)
imported>Ymblanter m Changed protection level for "Module:Sort title": High-risk Lua module: request at WP:RFPP ([Edit=Require template editor access] (indefinite)) |
imported>Lemondoge Synced; simplified |
||
| Line 17: | Line 17: | ||
local function isFirstWordAnArticle(word) | local function isFirstWordAnArticle(word) | ||
word = string.lower(word) | word = string.lower(word) | ||
return (word == "a" or word == "an" or word == "the") | |||
end | end | ||