Module:MaintenanceDashboard: Difference between revisions

Create module for maintenance dashboard status checks (via create-page on MediaWiki MCP Server)
 
Fix category links by adding colon prefix so they render as links instead of category assignments (via update-page on MediaWiki MCP Server)
Line 32: Line 32:
local linkAttr = ''
local linkAttr = ''
if link then
if link then
linkAttr = '|link=' .. link
-- Add colon prefix for Category: links so they render as links, not category assignments
local linkValue = link
if link:match('^Category:') then
linkValue = ':' .. link
end
linkAttr = '|link=' .. linkValue
end
end
MediaWiki Appliance - Powered by TurnKey Linux