אונטערשייד צווישן ווערסיעס פון "יחידה:Excerpt/portals"

קיין רעדאגירונג באמערקונג
(געשאַפן בלאַט מיט '-- ATTENTION ! -- This version of Excerpt is designed specifically for the portal namespace and its associated templates -- Prefer Module:Excerpt whenever possible -- Name of the category to track content pages with errors local errorCategory = "Articles with broken excerpts" -- Error messages local errorMessages = { prefix = "Excerpt error: ", noPage = "No page given", pageNotFound = "Page '%s' not found", leadEmpty = "Lead section is empty", secti...')
 
אין תקציר עריכה
 
(2 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן)
שורה 20: שורה 20:
-- Regular expressions to match all aliases of the file namespace
-- Regular expressions to match all aliases of the file namespace
local fileNamespaces = {
local fileNamespaces = {
"טעקע",
"בילד",
"[Ff]ile",
"[Ff]ile",
"[Ii]mage"
"[Ii]mage"
שורה 42: שורה 44:
-- Regular expressions to match all inline templates that are undesirable in excerpts
-- Regular expressions to match all inline templates that are undesirable in excerpts
local unwantedInlineTemplates = {
local unwantedInlineTemplates = {
"הערה",
"[Ee]fn", "[Ee]fn%-[lu][arg]", "[Ee]fn [%a ]-", "[Ee]l[mn]", "[Rr]p?", "[Ss]fn[bmp]", "[Ss]f[bn]", "[Nn]ote[Tt]ag", "#[Tt]ag:%s*[Rr]ef", "[Rr]efn?",
"[Ee]fn", "[Ee]fn%-[lu][arg]", "[Ee]fn [%a ]-", "[Ee]l[mn]", "[Rr]p?", "[Ss]fn[bmp]", "[Ss]f[bn]", "[Nn]ote[Tt]ag", "#[Tt]ag:%s*[Rr]ef", "[Rr]efn?",
"[CcDd]n", "[Cc]itation[%- _]needed", "[Dd]isambiguation needed", "[Ff]eatured article", "[Gg]ood article",
"[CcDd]n", "[Cc]itation[%- _]needed", "[Dd]isambiguation needed", "[Ff]eatured article", "[Gg]ood article",
שורה 819: שורה 822:


local function getMoreLinkText(more)
local function getMoreLinkText(more)
local defaultText = "Full article..." -- default text, same as in [[Template:TFAFULL]]
local defaultText = "גאנצער ארטיקל..." -- default text, same as in [[Template:TFAFULL]]
if not more or more == '' then -- nil/empty => use default
if not more or more == '' then -- nil/empty => use default
return defaultText
return defaultText