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

Änderungen

Zur Navigation springen Zur Suche springen
405 Bytes hinzugefügt ,  16:22, 20. Aug. 2017
2017-08-16
Zeile 1: Zeile 1:  
local URIutil = { suite  = "URIutil",
 
local URIutil = { suite  = "URIutil",
                   serial = "2017-01-10" };
+
                   serial = "2017-08-16" };
 
--[=[
 
--[=[
 
Utilities for URI etc.
 
Utilities for URI etc.
Zeile 39: Zeile 39:  
loadData: URIutil/config URIutil/isbn URIutil/urn
 
loadData: URIutil/config URIutil/isbn URIutil/urn
 
]=]
 
]=]
 +
local CurrentPageName
      Zeile 227: Zeile 228:  
     return r;
 
     return r;
 
end -- format()
 
end -- format()
 +
 +
 +
 +
local fullPageName = function ()
 +
    -- Retrieve current page name
 +
    -- Postcondition:
 +
    --    Returns  string: current page name
 +
    if not CurrentPageName then
 +
        CurrentPageName = mw.title.getCurrentTitle().fullText;
 +
    end
 +
    return CurrentPageName;
 +
end -- fullPageName()
      Zeile 1.183: Zeile 1.196:  
     if abbr  and  not about then
 
     if abbr  and  not about then
 
         local cnf = fetch( "config" );
 
         local cnf = fetch( "config" );
         if cnf.supportDNB then
+
         if cnf.supportDNB   and  cnf.supportDNB ~= fullPageName() then
 
             s = string.format( "[[%s|DNB]]", cnf.supportDNB );
 
             s = string.format( "[[%s|DNB]]", cnf.supportDNB );
 
         end
 
         end
Zeile 1.321: Zeile 1.334:  
             s = "International Standard Book Number";
 
             s = "International Standard Book Number";
 
         end
 
         end
         if s then
+
         if s and  s ~= fullPageName() then
 
             s = string.format( "[[%s|ISBN]]", s );
 
             s = string.format( "[[%s|ISBN]]", s );
 
         else
 
         else
Zeile 1.362: Zeile 1.375:  
             s = "International Standard Serial Number";
 
             s = "International Standard Serial Number";
 
         end
 
         end
         if s then
+
         if s and  s ~= fullPageName() then
 
             s = string.format( "[[%s|ISSN]]", s );
 
             s = string.format( "[[%s|ISSN]]", s );
 
         else
 
         else
Cookies helfen uns bei der Bereitstellung von imedwiki. Durch die Nutzung von imedwiki erklärst du dich damit einverstanden, dass wir Cookies speichern.

Navigationsmenü