Editing Module:D'ni Tools
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 202: | Line 202: | ||
local suffix = '' | local suffix = '' | ||
if (word == mw.ustring.lower(mw.title.getCurrentTitle(). | if (word == mw.ustring.lower(mw.title.getCurrentTitle().baseText)) then | ||
prefix = '\'\'\'' | prefix = '\'\'\'' | ||
suffix = prefix | suffix = prefix | ||
Line 269: | Line 269: | ||
mw.smw.subobject('ContainsQuote='..quote,name) | mw.smw.subobject('ContainsQuote='..quote,name) | ||
return output | return output..mw.ustring.lower(mw.title.getCurrentTitle().baseText) | ||
end | end | ||