Page MenuHomeGitPull.it

Redlink dei personaggi verso APH
Closed, ResolvedPublic

Description

I redlink di personaggi e interpreti nel box episodio devono portare a link di ArticlePlaceHolder se la pagina non esiste.

Event Timeline

In Modulo:DTEpisodio modificato

CharLink = mw.wikibase.getSitelink(CharQ) or "Special:AboutTopic/" .. CharQ

e

local actorLabel = mw.wikibase.getLabel(actorQ)
local actorLink = mw.wikibase.getSitelink(actorQ) or "Special:AboutTopic/" .. actorQ
…
Result['Actor'] = '[[' .. actorLink .. '|' .. actorLabel .. ']]' .. frame:callParserFunction('#set:', actorLabel .. '=' .. CharLabel) .. frame:callParserFunction('#set:', 'Interprete=' .. actorLabel)
lucamauri moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 16 2021, 10:15