66 505
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 416: | Riga 416: | ||
function p.ListBackReferences(frame) | function p.ListBackReferences(frame) | ||
-- See example here https://github.com/SemanticMediaWiki/SemanticScribunto/blob/master/docs/mw.smw.getQueryResult.md | -- See example here https://github.com/SemanticMediaWiki/SemanticScribunto/blob/master/docs/mw.smw.getQueryResult.md | ||
-- See also here https://doc.semantic-mediawiki.org/md_content_extensions_SemanticScribunto_docs_mw_8smw_8getQueryResult.html | |||
local AllBackReferences = {} | local AllBackReferences = {} | ||
--[=[ | --[=[ | ||
Riga 459: | Riga 460: | ||
Row = "[[" .. v.fulltext .. "]]" | Row = "[[" .. v.fulltext .. "]]" | ||
end | end | ||
Row = Row .. v.printouts['DataTrek ID'][1] .. v.printouts['DataTrek ID'][ | Row = Row .. v.printouts['DataTrek ID'][1] .. v.printouts['DataTrek ID'][0] | ||
AllBackReferences[#AllBackReferences + 1] = "*" .. Row | AllBackReferences[#AllBackReferences + 1] = "*" .. Row | ||
end | end |