Setup
- MediaWiki 1.35.14 (ef29848) 2024-01-01T09:28:21
- PHP 7.4.3-4ubuntu2.19 (apache2handler)
- MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
- External Data 3.2 (d77e75a) 2022-10-04T18:06:50
Issue
A call to, e.g., #display_external_table works if you use the "end line" parameter like this:
{| class="wikitable"
! number
! name
! code
{{#display_external_table:
source=https://example.org/w/images/9/9c/Export_slice_123.csv
|format=CSV with header
|end line=10
|data= mynr=number, priref=name, pc=code
|template=Test Template
}}
|}The results until line 10 show.
Once you add the "start line" parameter like this:
{| class="wikitable"
! number
! name
! code
{{#display_external_table:
source=https://example.org/w/images/9/9c/Export_slice_123.csv
|format=CSV with header
|start line=2
|end line=10
|data= mynr=number, priref=name, pc=code
|template=Test Template
}}
|}No data are shown.
The same happens when using the #get_web_data: parser function to get some data out of the file.