Modul:Age: Unterschied zwischen den Versionen

fix <span> anchor for error message
(restore new version: sorry, I forgot to update Template:Age in years and months last time)
(fix <span> anchor for error message)
Zeile 46: Zeile 46:
-- Return formatted message text for an error.
-- Return formatted message text for an error.
-- Can append "#FormattingError" to URL of a page with a problem to find it.
-- Can append "#FormattingError" to URL of a page with a problem to find it.
local anchor = '<span id="FormattingError" />'
local anchor = '<span id="FormattingError"></span>'
local category
local category
if not nocat and mw.title.getCurrentTitle():inNamespaces(0, 10) then
if not nocat and mw.title.getCurrentTitle():inNamespaces(0, 10) then
Anonymer Benutzer