Modul:Uses TemplateStyles: Unterschied zwischen den Versionen

revert. your behavior on this point is clearly inappropriate
Keine Bearbeitungszusammenfassung
(revert. your behavior on this point is clearly inappropriate)
Zeile 36: Zeile 36:
local tsTitle = mw.title.new(ts)
local tsTitle = mw.title.new(ts)
if tsTitle then
if tsTitle then
local tsSandboxTitle = mw.title.new(ts .. "/sandbox")
local tsSandboxTitle = mw.title.new(string.format('%s:%s/sandbox/%s', tsTitle.nsText, tsTitle.baseText, tsTitle.subpageText))
if tsSandboxTitle and tsSandboxTitle.exists then
if tsSandboxTitle and tsSandboxTitle.exists then
sandboxLink = string.format(' ([[:%s|sandbox]])', tsSandboxTitle.prefixedText)
sandboxLink = string.format(' ([[:%s|sandbox]])', tsSandboxTitle.prefixedText)
Anonymer Benutzer