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

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 16 :
if string.sub(v, 1, 1) == "*" or string.sub(v, 1, 1) == "#" then
-- Extrait les titres des pages
chapter = mw.text.trim(mw.ustring.gsub(v, "[ \*\#\[<small>]*([^\|]*).*", "%1"))
chapter = mw.ustring.gsub(chapter, "<small>\[\[", "")
if debugage == True then
--chapter = title.getContent(title)