Module:links: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
Tag: Manual revert
mNo edit summary
Line 14: Line 14:
link = link .. "#" .. string.gsub(data.language.name, " ", "_")
link = link .. "#" .. string.gsub(data.language.name, " ", "_")
end
end
if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText then
if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText and data["noBold"] ~= true then
return "<b>" .. alt .. "</b>"
return "<b>" .. alt .. "</b>"
else
else

Navigation menu