جز
۱ نسخه واردشده
(Undid revision 1062166786 by Matthiaspaul (talk); should be fixed now, and if not, please ping me with examples as I couldn't reproduce the original error) |
جز (۱ نسخه واردشده) |
||
(۵ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد) | |||
خط ۲۴: | خط ۲۴: | ||
--default options table used across the list stringification functions | --default options table used across the list stringification functions | ||
local stringifyListDefaultOptions = { | local stringifyListDefaultOptions = { | ||
conjunction = " | conjunction = "و", | ||
separator = " | separator = "،", | ||
altSeparator = " | altSeparator = "؛", | ||
space = " ", | space = " ", | ||
formatted = false | formatted = false | ||
خط ۷۸: | خط ۷۸: | ||
-- Stringifies lists with "and" or "or" | -- Stringifies lists with "and" or "or" | ||
function p.andList (...) return p.conjList(" | function p.andList (...) return p.conjList("و", ...) end | ||
function p.orList (...) return p.conjList(" | function p.orList (...) return p.conjList("یا", ...) end | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
خط ۹۰: | خط ۹۰: | ||
--default options table used across the forSee family of functions | --default options table used across the forSee family of functions | ||
local forSeeDefaultOptions = { | local forSeeDefaultOptions = { | ||
andKeyword = ' | andKeyword = 'و', | ||
title = mw.title.getCurrentTitle().text, | title = mw.title.getCurrentTitle().text, | ||
otherText = ' | otherText = 'دیگر کاربردها', | ||
forSeeForm = ' | forSeeForm = 'برای %s, ببینید %s.', | ||
} | } | ||