Zum Inhalt springen

Modul:Check for unknown parameters: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 44: Zeile 44:
preview = unknown
preview = unknown
end
end
if ispreview == 1 then unknown = preview end
if ispreview == 1 then  
unknown = preview
ignoreblank = false
end
-- adds one result to the output tables
-- adds one result to the output tables
Zeile 68: Zeile 71:
end
end
end
end
if (not knownflag) and ispreview or ( (not ignoreblank) and (not isnotempty(v)) )  then
if not knownflag and ( not ignoreblank or isnotempty(v) )  then
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?')
k = mw.ustring.gsub(k, '[^%w\-_ ]', '?')
addresult(k)
addresult(k)
Anonymer Benutzer