2734
правки
Изменения
Нет описания правки
plainTitle = name
elseif mw.ustring.lower(title) ~= 'нет' then
plainTitle = title:mw.ustring.gsub(mw.ustring.gsub( title, '\\\\', '\' ):gsub( , '\\&', '&' )
local formatPattern = '&[0-9a-fk-or]'
if mw.ustring.plainTitle:match(plainTitle, formatPattern) then
formattedTitle = title
plainTitle = mw.ustring.gsub(plainTitle, formatPattern, '')