Zum Inhalt springen

Modul:Uses TemplateStyles: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
(Stop inventing you're own naming convention break; "/sandbox" should be the last part of a sandbox's name, not the middle part)
Keine Bearbeitungszusammenfassung
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(ts .. "/sandbox")
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