10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) 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 and data | if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText and not data.nobold then | ||
return "<b>" .. alt .. "</b>" | return "<b>" .. alt .. "</b>" | ||
else | else |