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

imported>Liangent
建立内容为“local z = { error_categories = {}; error_ids = {}; message_tail = {}; } local SEEN = {}; local DATA = {}; -- Include translation messa...”的新頁面
 
imported>Liangent
无编辑摘要
第7行: 第7行:
local SEEN = {};
local SEEN = {};
local DATA = {};
local DATA = {};
-- LOCAL
local wikitextLC = require( 'Module:WikitextLC' );
-- END LOCAL


-- Include translation message hooks, ID and error handling configuration settings.
-- Include translation message hooks, ID and error handling configuration settings.
第1,166行: 第1,170行:
      
      
     if Title ~= "" then
     if Title ~= "" then
        -- LOCAL
        if Title == 'zh' or Title:sub( 1, 3 ) == 'zh-' then
            Title = wikitextLC.converted( Title, { 'zh-hans', 'zh-hant' } )
        else
            Title = wikitextLC.raw( Title )
        end
        -- END LOCAL
         if ( TitleLink == nil and URL and "" < URL ) then  
         if ( TitleLink == nil and URL and "" < URL ) then  
             Title = externallink( URL, Title ) .. TransError .. Format       
             Title = externallink( URL, Title ) .. TransError .. Format