کاربر ناشناس
پودمان:Citation/CS1/en/Configuration: تفاوت میان نسخهها
جز
updating id_limit to eng wiki for s2cid
جز (۱ نسخه واردشده) |
جز (updating id_limit to eng wiki for s2cid) |
||
خط ۹: | خط ۹: | ||
]] | ]] | ||
local uncategorized_namespaces = { 'کاربر', 'بحث', 'بحث_کاربر', ' | local uncategorized_namespaces = { 'کاربر', 'بحث', 'بحث_کاربر', 'بحث_امامتپدیا', 'بحث_پرونده', 'بحث_الگو','بحث_راهنما', 'بحث_رده', 'بحث_درگاه', 'بحث_کتاب', 'پیشنویس', 'بحث_پیشنویس', 'بحث_برنامه_آموزشی','بحث_پودمان', 'بحث_مدیاویکی' }; | ||
local uncategorized_subpages = {'/[Ss]andbox', '/[Tt]estcases', 'صفحه تمرین', '/آزمایشی', 'الگو:cite'}; -- list of Lua patterns found in page names of pages we should not categorize | local uncategorized_subpages = {'/[Ss]andbox', '/[Tt]estcases', 'صفحه تمرین', '/آزمایشی', 'الگو:cite'}; -- list of Lua patterns found in page names of pages we should not categorize | ||
خط ۵۱۹: | خط ۵۱۹: | ||
local lang_code_remap = { -- used for |language= and |script-title= / |script-chapter= | local lang_code_remap = { -- used for |language= and |script-title= / |script-chapter= | ||
['bh'] = 'بیهاری', -- MediaWiki uses 'bh' as a subdomain name for Bhojpuri | ['bh'] = 'بیهاری', -- MediaWiki uses 'bh' as a subdomain name for Bhojpuri wimamatpedia: bh.imamatpedia.org | ||
['bn'] = 'بنگالی', -- MediaWiki returns Bangla | ['bn'] = 'بنگالی', -- MediaWiki returns Bangla | ||
['cnr'] = 'مونتهنگروئی', -- 'new' 639 code that MediaWiki does not yet understand | ['cnr'] = 'مونتهنگروئی', -- 'new' 639 code that MediaWiki does not yet understand | ||
خط ۵۳۰: | خط ۵۳۰: | ||
['bengali'] = {'Bengali', 'bn'}, -- MediaWiki doesn't use exonym so here we provide correct language name and 639-1 code | ['bengali'] = {'Bengali', 'bn'}, -- MediaWiki doesn't use exonym so here we provide correct language name and 639-1 code | ||
['bihari'] = {'Bihari', 'bh'}, -- MediaWiki replaces 'Bihari' with 'Bhojpuri' so 'Bihari' cannot be found | ['bihari'] = {'Bihari', 'bh'}, -- MediaWiki replaces 'Bihari' with 'Bhojpuri' so 'Bihari' cannot be found | ||
['bhojpuri'] = {'Bhojpuri', 'bho'}, -- MediaWiki uses 'bh' as a subdomain name for Bhojpuri | ['bhojpuri'] = {'Bhojpuri', 'bho'}, -- MediaWiki uses 'bh' as a subdomain name for Bhojpuri wimamatpedia: bh.imamatpedia.org | ||
['montenegrin'] = {'Montenegrin', 'cnr'}, -- 'new' 639 code that MediaWiki does not yet understand | ['montenegrin'] = {'Montenegrin', 'cnr'}, -- 'new' 639 code that MediaWiki does not yet understand | ||
['Norwegian Bokmal'] = {'نروژی بوکمل', 'nb','nb-NO'}, | ['Norwegian Bokmal'] = {'نروژی بوکمل', 'nb','nb-NO'}, | ||
خط ۹۰۰: | خط ۹۰۰: | ||
parameters: a list of parameter aliases for this identifier | parameters: a list of parameter aliases for this identifier | ||
link: | link: imamatpedia article name | ||
q: wikidata q number for the identifier | q: wikidata q number for the identifier | ||
label: the alternate name to apply to link | label: the alternate name to apply to link | ||
mode: 'manual' when there is a specific function in the code to handle the identifier; | mode: 'manual' when there is a specific function in the code to handle the identifier; | ||
'external' for identifiers that link outside of | 'external' for identifiers that link outside of imamatpedia; | ||
prefix: the first part of a url that will be concatenated with a second part which usually contains the identifier | prefix: the first part of a url that will be concatenated with a second part which usually contains the identifier | ||
encode: true if uri should be percent encoded; otherwise false | encode: true if uri should be percent encoded; otherwise false | ||
خط ۱٬۱۸۴: | خط ۱٬۱۸۴: | ||
encode = false, | encode = false, | ||
separator = ' ', | separator = ' ', | ||
id_limit = | id_limit = 243000000, | ||
custom_access = 's2cid-access', | custom_access = 's2cid-access', | ||
}, | }, |