10,731
edits
TheNightAvl (talk | contribs) m (Undo revision 7306 by TheNightAvl (talk)) Tag: Undo |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
local term = mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") | local term = mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") | ||
if term == mw.title.getCurrentTitle(). | if term == mw.title.getCurrentTitle().text and not data.nobold then | ||
return "<b>" .. alt .. "</b>" | return "<b>" .. alt .. "</b>" | ||
elseif mw.ustring.match(term, "^[%?%-–—]+$") or mw.ustring.match(term, ":[%?%-–—]+$") then | elseif mw.ustring.match(term, "^[%?%-–—]+$") or mw.ustring.match(term, ":[%?%-–—]+$") then |