יחידה:Citation/CS1: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 203: שורה 203:
function format_chapter_title (chapter, transchapter, chapterurl, chapter_url_source)
function format_chapter_title (chapter, transchapter, chapterurl, chapter_url_source)
local chapter_error = '';
local chapter_error = '';
-- our code
if is_set (transchapter) then
transchapter = '<span class="mw-content-rtl">' .. transchapter .. "</span>&lrm;";
end
-- our code end
if not is_set (chapter) then
if not is_set (chapter) then
chapter = ''; -- just to be safe for concatenation
chapter = ''; -- just to be safe for concatenation