10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 16: | Line 16: | ||
if mw.ustring.match(mw.ustring.gsub(link, " ", " "),"([^%#]+)") == mw.title.getCurrentTitle().prefixedText and not data.nobold then | 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>" | ||
elseif mw.ustring. | elseif mw.ustring.find(link, "^%?+$") or mw.ustring.find(link, "^[%-–—]$") then | ||
return alt | return alt | ||
else | else |