Modul:Vorlage:Anker: Unterschied zwischen den Versionen

2019-12-26
(2019-12-25)
(2019-12-26)
Zeile 1: Zeile 1:
local Anchor = { suite  = "AnchorTemplate",
local Anchor = { suite  = "AnchorTemplate",
                 serial  = "2019-12-25",
                 serial  = "2019-12-26",
                 item    = 79414611,
                 item    = 79414611,
                 globals = { TemplUtl = 52364930 }
                 globals = { TemplUtl = 52364930 }
Zeile 268: Zeile 268:
         local tocheck = { }
         local tocheck = { }
         local further = function ( add )
         local further = function ( add )
                             local s = mw.text.unstripNoWiki( add )
                             local s = add:gsub( " +", "_" )
                            s = s:gsub( " +", "_" )
                                        :gsub( "_+", "_" )
                                :gsub( "_+", "_" )
                             table.insert( checked,s )
                             table.insert( checked, s )
                         end
                         end
         local s, unknown
         local s, unknown
Zeile 319: Zeile 318:
             local legal, s
             local legal, s
             for i = 1, #tocheck do
             for i = 1, #tocheck do
                 s = tocheck[ i ]
                 s = mw.text.unstripNoWiki( tocheck[ i ] )
                 if s:match( "^%d" )  or
                 if s:match( "^%d" )  or
                   s:sub( 1, 1 ) == "-"  or
                   s:sub( 1, 1 ) == "-"  or
Anonymer Benutzer