Difference between revisions of "Module:MediaData"
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
− | + | local p = {} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | return personData | + | function p.main(frame) |
+ | |||
+ | personData = mw.ext.externalData.getExternalData{ | ||
+ | url = 'https://research.tsadra.org/index.php?title=Special%3AAsk&q=%5B%5B' .. mw.uri.encode( mw.title.getCurrentTitle().subpageText ) .. '%5D%5D&po=BuNayTitle&p%5Bformat%5D=csv', | ||
+ | data = { | ||
+ | BuNayTitle = 'BuNayTitle' | ||
+ | }, | ||
+ | format = 'CSV with header' | ||
+ | } | ||
+ | |||
+ | return personData | ||
+ | |||
+ | end | ||
+ | |||
+ | return p |
Revision as of 11:15, 5 September 2023
Documentation for this module may be created at Module:MediaData/doc
local p = {}
function p.main(frame)
personData = mw.ext.externalData.getExternalData{
url = 'https://research.tsadra.org/index.php?title=Special%3AAsk&q=%5B%5B' .. mw.uri.encode( mw.title.getCurrentTitle().subpageText ) .. '%5D%5D&po=BuNayTitle&p%5Bformat%5D=csv',
data = {
BuNayTitle = 'BuNayTitle'
},
format = 'CSV with header'
}
return personData
end
return p