Extension:External Data/ha
External Data Release status: stable |
|
---|---|
Implementation | Parser function , Special page |
Description | Allows for using and displaying values retrieved from various sources: external URLs and SOAP services, local wiki pages and local files (in CSV, JSON, XML and other formats), database tables, LDAP servers and local programs output. |
Author(s) | Yaron Koren, Alexander Mashin da sauransu |
Latest version | 3.3 (Nuwamba 2023) |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | 1.37+ |
Database changes | Yes |
Tables | ed_url_cache |
License | GNU General Public License 2.0 or later |
Download | Duba |
Example | shafi mai ɗauke da bayanin da aka ɗauko daga fayil ɗin CSV na waje |
|
|
Translate the External Data extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The External Data extension allows MediaWiki pages to retrieve, filter, and format structured data from one or more sources. These sources can include external URLs and SOAP services, regular wiki pages, uploaded files, files on the local server, databases, LDAP directories and local programs output.
The extension defines the following parser functions :
- Sake dawo da bayanai da ayyukan sarrafawa, waɗanda ke saita masu canji na gida sannan su nuna, adanawa ko share su:
- #external_value - yana nuna ƙimar kowane irin wannan canjin.
- #for_external_table - cycles through all the values retrieved for a set of variables, displaying the same "container" text for each one.
- #display_external_table - cycles through all the values retrieved for a set of variables, displaying each "row" using a template.
- #format_external_table - samuwa ne kawai idan an shigar da Kaya Yana tsara bayanan waje da aka dawo dasu daidai da #cargo_query.
- #store_external_table - kewayawa ta hanyar tebur na ƙima, tana adana su azaman bayanan ma'ana ta hanyar tsawo Semantic MediaWiki, ta hanyar kwaikwayon kira zuwa aikin #subject na SMW na kowane jere.
- A cikin yanayin dacewa a baya, tsawo kuma yana bayyana ayyukan dawo da bayanai, wanda ya saita masu canjin gida da ke akwai tare da iyakokin shafin wiki wanda daga baya za'a iya nunawa ta amfani da ayyukan da ke sama:
- #get_external_data - retrieves data from various sources, thus replacing any of the below parser functions, and assigns it to variables that can be accessed on the page.
- #get_web_data - retrieves CSV, GFF, JSON, YAML, XML, HTML, ini, or free-form data from a URL and assigns it to variables that can be accessed on the page.
- #get_soap_data - retrieves data from a URL via the SOAP protocol.
- #get_file_data - yana maido da bayanai daga fayil akan uwar garken gida, a cikin tsari iri daya da #get_web_data.
- #get_db_data - retrieves data from a database.
- #get_ldap_data - yana maido da bayanai daga sabar LDAP
- #get_program_data - yana dawo da bayanan da shirin ke gudana ta gefen uwar garken.
- #get_inline_data - tantance bayanan da aka tura zuwa gare shi, a cikin tsari iri daya da # samu_web_data.
- da kuma #clear_external_data that erases the current set of retrieved data or only some variables.
Hakanan yana bayyana aikin mw.ext.externalData.getExternalData
wanda ke dawo da bayanai a matsayin tebur na Lua.
A cikin yanayin dacewa, ana kuma fayyace ƙarin ayyuka na Lua masu zuwa (akwai wasiku ɗaya-zuwa ɗaya tsakanin ayyukan ɓarna da ke dawo da bayanai da ayyukan Lua a bayyane daga sunayensu):
mw.ext.externalData.getWebData
mw.ext.externalData.getFileData
mw.ext.externalData.getDbData
mw.ext.externalData.getSoapData
mw.ext.externalData.getLdapData
mw.ext.externalData.getProgramData
mw.ext.externalData.getInlineData
A cikin yanayin kwaikwayi tag, mai kula da rukunin yanar gizon wiki na iya ayyana ƙarin alamun fassarori.
Wannan sigar tsawo na Bayanan Waje yana buƙatar MediaWiki 1.29 ko sama.
Danna cikin shafukan da ke cikin mashin kewayawa da ke sama don ƙarin koyo game da Bayanan waje, yadda yake aiki, yadda ake amfani da shi, da yadda ake shigar da shi.
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/ha
- Parser function extensions/ha
- Special page extensions/ha
- GPL licensed extensions/ha
- LoadExtensionSchemaUpdates extensions/ha
- ParserFirstCallInit extensions/ha
- ScribuntoExternalLibraries extensions/ha
- SoftwareInfo extensions/ha
- All extensions/ha
- Extensions included in BlueSpice/ha
- Extensions included in Canasta/ha
- Extensions included in Miraheze/ha
- Extensions included in MyWikis/ha
- Extensions included in ProWiki/ha
- Extensions included in semantic::core/ha
- Extensions included in WikiForge/ha
- Data extraction extensions/ha
- Remote content extensions/ha
- File system content extensions/ha
- Semantic MediaWiki extensions/ha
- Extensions in Wikimedia version control/ha