Modul:Vorlage:LuaModuleDoc: Unterschied zwischen den Versionen

2017-01-25
wp>PerfektesChaos
(2017-01-10)
wp>PerfektesChaos
(2017-01-25)
Zeile 1: Zeile 1:
local Serial = "2017-01-10"
local Serial = "2017-01-25"
--[=[
--[=[
Support {{LuaModuleDoc}}
Support {{LuaModuleDoc}}
Zeile 394: Zeile 394:
         local p1 = "^%s*" .. d .. "<onlyinclude>"
         local p1 = "^%s*" .. d .. "<onlyinclude>"
         local p2 = "%s*<noinclude>" .. d .. "</noinclude>"
         local p2 = "%s*<noinclude>" .. d .. "</noinclude>"
         local space, sub
         local space, sub, support
         for i = 3, #collect do
         for i = 3, #collect do
             t = mw.title.makeTitle( nsDocs,  super .. collect[ i ] )
             t = mw.title.makeTitle( nsDocs,  super .. collect[ i ] )
Zeile 413: Zeile 413:
         end -- for i
         end -- for i
         s = fetch( "pageTemplateInsert", "" )
         s = fetch( "pageTemplateInsert", "" )
         space, sub = s:match( "^([^:]+):(.+)$" )
         space, support = s:match( "^([^:]+):(.+)$" )
         if space  and  mw.title.makeTitle( space, sub ).exists then
         if space  and  mw.title.makeTitle( space, support ).exists then
             local suppress = fetch( "noHint", "" )
             local suppress = fetch( "noHint", "" )
             if #suppress == 0 then
             if #suppress == 0 then
Anonymer Benutzer