模块:Citation/CS1:修订间差异

imported>Liangent
无编辑摘要
imported>Liangent
无编辑摘要
第322行: 第322行:
-- Escape sequences for content that will be used for URL descriptions
-- Escape sequences for content that will be used for URL descriptions
function safeforurl( str )
function safeforurl( str )
    do return str end -- LOCAL HACK https://en.wikipedia.org/w/index.php?title=Module_talk:Citation/CS1&diff=552318417&oldid=552202448
     if str:match( "%[%[.-%]%]" ) ~= nil then  
     if str:match( "%[%[.-%]%]" ) ~= nil then  
         table.insert( z.message_tail, { seterror( 'wikilink_in_url', {}, true ) } );
         table.insert( z.message_tail, { seterror( 'wikilink_in_url', {}, true ) } );