Modul:Temp: Porovnání verzí
Smazaný obsah Přidaný obsah
úprava pořadí výpisu; úprava logiky |
+ monitoring přípony souboru; úprava logiky |
||
Řádek 158:
local output = ""
local
▲ local argumentValue = mw.text.trim( frame:getParent().args[2] or "" )
local title = titleObject.text
local fileName
local fileExtension
local valueType = ""
local equalityType
local value
local parentheses
if
fileName, fileExtension = mw.ustring.match( file, "^(.+)%.([^%.]+)$" )
if fileExtension then
output = output .. string.format( "[[Kategorie:Monitoring:Audio/1/*.%s]]]", fileExtension )
end
end
if text ~= "" then
value, parentheses = mw.ustring.match(
if parentheses then
Řádek 182 ⟶ 194:
valueType = string.format( "%s (%s)", equalityType, parentheses )
else
if
equalityType = "≡"
elseif mw.ustring.lower(
equalityType = "≋"
else
Řádek 194 ⟶ 206:
end
if equalityType
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/%s]]", equalityType )
end
Řádek 203 ⟶ 215:
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/* (%s)]]", parentheses )
elseif equalityType == "≢" then
output = output .. string.format( "[[Kategorie:Monitoring:Audio/2/≢ */%s]]",
end
|