Modul:Uses TemplateStyles: Unterschied zwischen den Versionen
In the interim, look for pages in both formats -- this is done without prejudice to one naming convention being chosen
(revert. your behavior on this point is clearly inappropriate) |
(In the interim, look for pages in both formats -- this is done without prejudice to one naming convention being chosen) |
||
| Zeile 37: | Zeile 37: | ||
if tsTitle then | if tsTitle then | ||
local tsSandboxTitle = mw.title.new(string.format('%s:%s/sandbox/%s', tsTitle.nsText, tsTitle.baseText, tsTitle.subpageText)) | local tsSandboxTitle = mw.title.new(string.format('%s:%s/sandbox/%s', tsTitle.nsText, tsTitle.baseText, tsTitle.subpageText)) | ||
if not tsSandboxTitle or not tsSandboxTitle.exists then | |||
tsSandboxTitle = mw.title.new(ts .. "/sandbox") | |||
end | |||
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) | ||