Module:Shortcut: Difference between revisions
From Test Wiki
Content deleted Content added
Change table to div, per talk |
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 |
||