Module:MediaData: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
Line 1: Line 1:
return mw.ext.externalData.getExternalData{
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',
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 = {
data = {
Line 6: Line 6:
format = 'CSV with header'
format = 'CSV with header'
}
}
return personData

Revision as of 11:14, 5 September 2023

Documentation for this module may be created at Module:MediaData/doc

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