« Module:Version imprimable » : différence entre les versions
Contenu supprimé Contenu ajouté
MEP pour autoriser les + et - dans les titres |
Autorisation des + dans Programmation C++ |
||
Ligne 38 :
BookName = frame.args[2]
else
if mw.ustring.find(BookName,
end
if frame.args[3] ~= nil then OnlySubpages = false end
Ligne 132 :
if OnlySubpages then
-- Book subpages only (and ignoring the other links like "see also")
if mw.ustring.find(chapter,
if debug then chapter = "<font color=red>No book subpage into the internal link:</font> '" .. chapter .. "' doesn't include '" .. BookName .. sep .. "'" else chapter = '' end
end
Ligne 169 :
if (BookName ~= nil and mw.text.trim(BookName) ~= "") then
title = mw.title.new(BookName)
if mw.ustring.find(BookName,
else
return Error
Ligne 212 :
end
if fullPageName ~= nil then
if mw.ustring.find(fullPageName,
if debug then table.insert(footer, " replacement of " .. fullPageName .. " by " .. BookName .. sep .. fullPageName .. "\n") end
fullPageName = BookName .. sep .. fullPageName
|