« Module:Version imprimable » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 106 :
if OnlySubpages then
-- Book subpages only (and ignoring the other links like "see also")
if mw.text.truncate(chapter, stringmw.ustring.len(BookName .. sep)) ~= (BookName .. sep .. "…") and mw.text.truncate(chapter, stringmw.ustring.len(BookName .. sep)) ~= (BookName .. sep .. "...") then
if debug then chapter = '<font color=red>No book subpage into the internal link:</font> ' .. mw.text.truncate(chapter, stringmw.ustring.len(BookName .. sep)) .. " ~= " .. BookName .. sep .. "…" else chapter = '' end
end
end