Open main menu
Home
Random
Log in
Settings
About Starlight Wiki
Disclaimers
Starlight Wiki
Search
Changes
← Older edit
Module:Message box
(view source)
Revision as of 04:10, 24 October 2018
42 bytes removed
,
04:10, 24 October 2018
no edit summary
Line 119:
Line 119:
end
end
if sort then
if sort then
−
cat = string.format('
[[Category:%s|%s]]
', cat, sort)
+
cat = string.format('', cat, sort)
else
else
−
cat = string.format('
[[Category:%s]]
', cat)
+
cat = string.format('', cat)
end
end
self.hasCategories = true
self.hasCategories = true
Line 355:
Line 355:
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
self:addCat(0, catTitle)
−
catTitle = getTitleObject('
Category:
' .. catTitle)
+
catTitle = getTitleObject('' .. catTitle)
if not catTitle or not catTitle.exists then
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
self:addCat(0, 'Articles with invalid date parameter in template')
Stylo
Bureaucrats
,
Interface administrators
,
Administrators
2,284
edits