ಮಾಡ್ಯೂಲ್:Citation/CS1/COinS/sandbox: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ

Content deleted Content added
ಚು ೨೦ revisions imported from en:Module:Citation/CS1/COinS/sandbox
copy from en.wiki;
 
೧ ನೇ ಸಾಲು:
--[[
History of changes since last sync: 2017-0411-2904
 
]]
೯ ನೇ ಸಾಲು:
--[[--------------------------< F O R W A R D D E C L A R A T I O N S >--------------------------------------
]]
 
local is_set, in_array, remove_wiki_link; -- functions in Module:Citation/CS1/Utilities
 
Line ೧೮೨ ⟶ ೧೮೧:
value = value:gsub ('&nbsp;', ' '); -- replace &nbsp; entity with plain space
value = value:gsub ('\226\128\138', ' '); -- replace hair space with plain space
if not mw.ustring.find (value, cfg.indic_script) then -- don't remove zero width joiner characters from indic script
value = value:gsub ('&zwj;', ''); -- remove &zwj; entities
value = value:gsub ('&zwj;', ''); -- remove &zwj; entities
value = mw.ustring.gsub (value, '[\226\128\141\226\128\139\194\173]', ''); -- remove zero-width joiner, zero-width space, soft hyphen
end
value = value:gsub ('[\009\010\013]', ' '); -- replace horizontal tab, line feed, carriage return with plain space
return value;
Line ೩೨೪ ⟶ ೩೨೫:
-- sort with version string always first, and combine.
--table.sort( OCinSoutput );
table.insert( OCinSoutput, 1, "ctx_ver=" .. ctx_ver ); -- such as "Z39.88-2004"
return table.concat(OCinSoutput, "&");