Modul:Italic title: Unterschied zwischen den Versionen
per edit request on talk page
K (Changed protection level of Module:Italic title: High-risk Lua module: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(per edit request on talk page) |
||
Zeile 29: | Zeile 29: | ||
-- Add the namespace if it exists. | -- Add the namespace if it exists. | ||
if title.nsText and title.nsText ~= "" then | if title.nsText and title.nsText ~= "" then | ||
result = title.nsText .. ':' .. result | result = title.nsText:gsub('_', ' ') .. ':' .. result | ||
end | end | ||
-- Call displaytitle with the text we generated. | -- Call displaytitle with the text we generated. |