Modul:Temp: Porovnání verzí
Smazaný obsah Přidaný obsah
- relikt z testování |
+ monitoring dalších typů shody parametru s názvem stránky |
||
Řádek 152:
local output = ""
local
local argumentValue = mw.text.trim( frame:getParent().args[2] or "" )
local valueType = ""
local parentheses = mw.ustring.match( value, ".*%(([^%)]+)%)$" )▼
local value
local parentheses
local equalityType
if parentheses then
if value == title then
valueType = string.format( "⌂ (%s)", parentheses )▼
equalityType = "≡"
elseif mw.ustring.lower( value ) == mw.ustring.lower( title ) then
equalityType = "≋"
else
equalityType = "≢"
end
else
valueType =
end
|