ExternalData Legacy Method

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
=== Using #get_web_data ===
=== Using #get_web_data ===


{{#get_web_data:url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Bodhi]]}}&po=Glossary-Term%0AGlossary-Tibetan%0AGlossary-Wylie%0AGlossary-Devanagari%0AGlossary-Sanskrit%0AGlossary-Chinese%0AGlossary-Pinyin%0AGlossary-English%0AGlossary-Senses&p[format]=csv&p[sep]=,|format=csv with header|data=Glossary-Term=Glossary-Term,Glossary-Tibetan=Glossary-Tibetan,Glossary-Wylie=Glossary-Wylie,Glossary-Devanagari=Glossary-Devanagari,Glossary-Sanskrit=Glossary-Sanskrit,Glossary-Chinese=Glossary-Chinese,Glossary-Pinyin=Glossary-Pinyin,Glossary-English=Glossary-English,Glossary-Senses=Glossary-Senses}}
{{#get_web_data:url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Bodhi]]}}&po=Glossary-Term%0AGlossary-Tibetan%0AGlossary-Wylie%0AGlossary-Devanagari%0AGlossary-Sanskrit%0AGlossary-Chinese%0AGlossary-Pinyin%0AGlossary-English%0AGlossary-Senses%0A&p[format]=csv&p[sep]=,|format=csv with header|data=Glossary-Term=Glossary-Term,Glossary-Tibetan=Glossary-Tibetan,Glossary-Wylie=Glossary-Wylie,Glossary-Devanagari=Glossary-Devanagari,Glossary-Sanskrit=Glossary-Sanskrit,Glossary-Chinese=Glossary-Chinese,Glossary-Pinyin=Glossary-Pinyin,Glossary-English=Glossary-English,Glossary-Senses=Glossary-Senses,EncodedGlossary-Senses=EncodedGlossary-Senses}}


{{#external_value:Glossary-Term}}
{{#external_value:Glossary-Term}}

Revision as of 13:50, 5 December 2022

Using #get_web_data

བྱང་ཆུབ་

byang chub

बोधि

bodhi

菩提,悟,覺

pú tí,wù,jué

enlightenment

--




Trying using #get_db_data

Function:

{{#get_db_data:
	db=commons
	|from=page
	|where=_pageName='Mahayana'
	|limit=1
	|data=defOther=Glossary-DefinitionOther
}}

{{#external_value:defOther}}

Result:

Error: Incomplete information for this database ID commons (type).
Error: Incomplete information for this database ID commons (name).
Error: Incomplete information for this database ID commons (server).