Modul:Temp: Porovnání verzí
Smazaný obsah Přidaný obsah
+ monitoring přípony souboru; úprava logiky |
optimalizace kódu |
||
Řádek 162:
local title = titleObject.text
local equalityType▼
local fileName
local fileExtension
▲ local valueType = ""
▲ local equalityType
local value
local parentheses
Řádek 175:
if fileExtension then
output = output .. string.format( "[[Kategorie:Monitoring:Audio/1/*.%s
end
Řádek 182:
if text ~= "" then
value, parentheses =
if parentheses then
Řádek 204:
end
end▼
if equalityType then▼
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/%s]]", equalityType )
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/* (%s)]]", parentheses )▼
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/≢ */%s]]", text )▼
else
output = output .. "[[Kategorie:Monitoring:Audio/2/]]"
end
▲ output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/%s]]", valueType )
▲ if parentheses then
▲ output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/* (%s)]]", parentheses )
▲ output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/≢ */%s]]", text )
output = frame:preprocess( output )
|