Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
sync with sandbox. Address lastauthoramp, postscript, and separator issues |
sync to sandbox, addressing hyphen links, authormask, bolding, etc. |
||
வரிசை 133:
if str == nil then
return nil;
end
if str:match( "[%[%]{}<>]" ) ~= nil then
return str;
end
return str:gsub( '-', '–' );
வரி 383 ⟶ 386:
or args.first or args.first1 or args.given or args.given1
args["author1-link"] = args["author1-link"] or args["author-link"]
args["author1-mask"] = args["author1-mask"] or args["author-mask"] or args["authormask"]
args["author1link"] = args["author1link"] or args["authorlink"]
args["editor1"] = args["editor1"] or args["editor"]
வரி 389 ⟶ 392:
args["editor1-first"] = args["editor1-first"] or args["editor-first"]
args["editor1-link"] = args["editor1-link"] or args["editor-link"]
args["editor1-mask"] = args["editor1-mask"] or args["editor-mask"] or args["editormask"]
args["editor1link"] = args["editor1link"] or args["editorlink"]
வரி 507 ⟶ 510:
local LastAuthorAmp = args.lastauthoramp
local no_tracking_cats = args["template doc demo"] or args.nocat or args.notracking or args["no-tracking"] or "";
local MessageTail = "";
if ( config.CitationClass == "journal" ) then
வரி 704 ⟶ 708:
local DateIn = Date
-- Test
if (
table.insert( z.error_categories, 'Pages using web citations with no URL' );
if
else
end
end
if ( AccessDate ~= nil and AccessDate ~= '' ) then
table.insert( z.error_categories, 'Pages using citations with accessdate and no URL' );
AccessDate = nil;
if MessageTail ~= '' then
MessageTail = MessageTail .. ", accessdate used without URL";
else
MessageTail = MessageTail .. "Accessdate used without URL";
end
end
end
வரி 726 ⟶ 739:
( Conference == nil or Conference == "" ) then
table.insert( z.error_categories, 'Pages with citations lacking titles' );
if MessageTail ~= '' then
Authors = Authors .. hiddencomment("No citation title here");▼
MessageTail = MessageTail .. ", citation has no title";
else
MessageTail = MessageTail .. "Citation has no title";
end
end
வரி 853 ⟶ 870:
if ( Volume ~= nil and Volume ~="" )
then
if (
then Volume = sepc .." " .. Volume
else Volume = " <b>" .. hyphentodash(Volume) .. "</b>"
end
else Volume = "" end
வரி 1,153 ⟶ 1,170:
local OCinS = createTag({name="span", contents=empty_span, params={class="Z3988",title=OCinStitle }})
text = text .. OCinS;
if MessageTail ~= '' then
end
if no_tracking_cats == '' then
| |||