Module:Shortcut: Difference between revisions
Content added Content deleted
m (1 revision imported) |
Enwikipedia>Xaosflux (sync from sandbox, editrequest on talk) |
||
Line 102: | Line 102: | ||
then |
then |
||
local title = mw.title.new(shortcuts[1]) |
local title = mw.title.new(shortcuts[1]) |
||
if not title or not title.exists then |
if not title or (not title.exists and title.interwiki == '') then |
||
root:wikitext(makeCategoryLink(cfg['first-parameter-error-category'])) |
root:wikitext(makeCategoryLink(cfg['first-parameter-error-category'])) |
||
end |
end |