Module:Citation/CS1: Difference between revisions

    m>Trappist the monk
    (Synch from sandbox;)
    m>Trappist the monk
    m (script-title bug fix;)
    Line 325: Line 325:
    -- is prefix one of these language codes?
    -- is prefix one of these language codes?
    if in_array (lang, {'ar', 'bg', 'bs', 'dv', 'el', 'fa', 'hy', 'ja', 'ka', 'ko', 'ku', 'he', 'ps', 'ru', 'sd', 'sr', 'th', 'uk', 'ug', 'yi', 'zh'}) then
    if in_array (lang, {'ar', 'bg', 'bs', 'dv', 'el', 'fa', 'hy', 'ja', 'ka', 'ko', 'ku', 'he', 'ps', 'ru', 'sd', 'sr', 'th', 'uk', 'ug', 'yi', 'zh'}) then
    add_prop_cat ('script_name', {name, lang})
    add_prop_cat ('script_with_name', {name, lang})
    else
    else
    add_prop_cat ('script')
    add_prop_cat ('script')