Modul:PageUtil: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
fix
(Setup) |
(fix) |
||
Zeile 44: | Zeile 44: | ||
r = r:gsub( seek, subst ) | r = r:gsub( seek, subst ) | ||
seek = "%[%[%s*(" .. source .. "%s*%]%])" | seek = "%[%[%s*(" .. source .. "%s*%]%])" | ||
subst = "[[" .. shift .. "|%1" | subst = "[[#" .. shift .. "|%1" | ||
r = r:gsub( seek, subst ) | r = r:gsub( seek, subst ) | ||
end -- for k, v | end -- for k, v | ||
Zeile 90: | Zeile 90: | ||
if page.exists then | if page.exists then | ||
local source = page.prefixedText | local source = page.prefixedText | ||
local segment = string.format( "PageUtilMerge-%d | local segment = string.format( "PageUtilMerge-%d", alias ) | ||
local seed | local seed | ||
if page.namespace == 0 then | if page.namespace == 0 then |