Pzgulyas added a comment.

By commenting out line 446 in Modul:Wikidata:

args.author = reference.snaks['P50'] and formatSnak(reference.snaks['P50'][1], options)

the problem disappears. This suggests, the later

return frame:expandTemplate{title = 'Cite web', args = args}

puts some unwanted string into the result, which is evaluated kind of asynchronously to the wiki page renderer. (Unwanted string is unevaluated in an earlier phase, but is already evaluated in a later.) So a slight modification of Template:Cite web author compilation might fix the issue. My suspicion is the line

| <nowiki>:</nowiki>&#32;}}{{#if: {{{archiveurl|}}}

, but template editors might have a better tip.


TASK DETAIL
https://phabricator.wikimedia.org/T183804

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Pzgulyas
Cc: Pzgulyas, Lucas_Werkmeister_WMDE, daniel, Izno, Tacsipacsi, Bencemac, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to