Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.

Änderungen

Zur Navigation springen Zur Suche springen
370 Bytes hinzugefügt ,  09:42, 23. Mär. 2019
2019-01-01; gem. Anfrage Spezial:Diff/186813773/186814496
Zeile 1: Zeile 1:  
local URLutil = { suite  = "URLutil",
 
local URLutil = { suite  = "URLutil",
                   serial = "2018-09-20",
+
                   serial = "2019-01-01",
 
                   item  = 10859193 }
 
                   item  = 10859193 }
 
--[=[
 
--[=[
Zeile 25: Zeile 25:  
* isDomainInt()
 
* isDomainInt()
 
* isHost()
 
* isHost()
 +
* isHostPathResource()
 
* isIP()
 
* isIP()
 
* isIPlocal()
 
* isIPlocal()
Zeile 693: Zeile 694:  
     return URLutil.isDomain( s ) or URLutil.isIP( s )
 
     return URLutil.isDomain( s ) or URLutil.isIP( s )
 
end -- URLutil.isHost()
 
end -- URLutil.isHost()
 +
 +
 +
 +
URLutil.isHostPathResource = function ( s )
 +
    local r = URLutil.isResourceURL( s )
 +
    if not r  and s then
 +
        r = URLutil.isResourceURL( "//" .. mw.text.trim( s ) )
 +
    end
 +
    return r
 +
end -- URLutil.isHostPathResource()
      Zeile 1.049: Zeile 1.060:  
function p.isHost( frame )
 
function p.isHost( frame )
 
     return URLutil.isHost( frame.args[ 1 ] ) and "1" or ""
 
     return URLutil.isHost( frame.args[ 1 ] ) and "1" or ""
 +
end
 +
function p.isHostPathResource( frame )
 +
    return URLutil.isHostPathResource( frame.args[ 1 ] ) and "1" or ""
 
end
 
end
 
function p.isIP( frame )
 
function p.isIP( frame )
Anonymer Benutzer
Cookies helfen uns bei der Bereitstellung von imedwiki. Durch die Nutzung von imedwiki erklärst du dich damit einverstanden, dass wir Cookies speichern.

Navigationsmenü