モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]

ウィキデータでのバージョン: 2024-10-24 問題なし

-- shared internationalisation for link modules  return { 	-- documentation 	moduleInterface = { 		suite  = 'Link utilities', 		sub    = 'i18n', 		serial = '2024-10-24', 		item   = 104200158 	},  	-- maximum count of items to display in listing 	addNum    = 3, 	addNumFax = 2, 	addMail   = 2, 	addSkype  = 0,  	texts = { 		comma       = '、', 		space       = ' ', 		parentheses = '()' 	},  	-- patterns for delimiters except ',' (en) 	delimiters      = { ' [aA][nN][dD] ', ' [oO][rR] ', 'と', 'や', '、' },      -- patterns for phone extensions (en) 	extensions = { 		';?[Ee][Xx][Tt]%.?[ =]+%d+', -- ext. #### (en, intl) 		                             -- including RFC 3966 syntax ";ext=####" 		'x%d+',                      -- x#### (en, intl) 	},  	-- phone number options 	options = { 		withCountryCode    = false, -- add country calling code in output in any case 		preventLeadZero    = false, -- remove lead zero from output  		-- enable formatting of phone numbers retrieved from Wikidata 		formattingWikidata = true,  -- format phone numbers retrieved from Wikidata 		addZeros           = true,  -- add trunc prefix (0) 	},  	-- Skype query parameters 	params = { 		add       = '', 		call      = '', 		chat      = '', 		sendfile  = '', 		userinfo  = '', 		voicemail = '' 	},  	-- error categories. Leading [[Category: is added in modules 	categories = { 		noCC         = '国番号のついていない電話番号]] <span class="error">電話番号に国番号が付いていません</span>', 		invalid	     = '無効なフォーマットの電話番号]] <span class="error">電話番号のフォーマットが無効です</span>', 		withSlash    = 'スラッシュ付きの電話番号]] <span class="error">電話番号にスラッシュが含まれています</span>',  		onlyDomestic = 'この電話番号は日本国内でのみ有効です',  		invalidMail  = '無効なフォーマットのメールアドレス]] <span class="error">メールアドレスのフォーマットが無効です</span>', 		nonASCII     = 'Unicode文字を含んだメールアドレス]] <span class="listing-check-recommended" style="display:none;">メールアドレスにUnicode文字が含まれています</span>',  		invalidSkype = '無効なユーザー名のSkype]] <span class="error">Skypeのユーザー名が無効です</span>', 	},  	-- LinkISBN support 	isbnTexts = { 		booksourcesClass = 'voy-booksources', -- CSS classes 		isbnClass        = 'voy-isbn', 		invalidISBN      = '<span class="error">無効なISBN</span>', 		invalidCat       = '[[カテゴリ:無効なISBNがあるページ]]' 	} }