My Wiki configuration:
Product | Version |
---|---|
MediaWiki | 1.37.3 (7fd8217)
12:44, July 3, 2022 |
PHP | 7.3.29-1+ubuntu18.04.1+deb.sury.org+1 (apache2handler) |
MariaDB | 10.1.48-MariaDB-0ubuntu0.18.04.1 |
ICU | 65.1 |
Pygments | 2.10.0 |
Lua | 5.1.5 |
Elasticsearch | 6.8.18 |
LilyPond | 2.18.2 |
this code does not work (does not show the image)
<infobox> <title source="title_source"> <default>{{PAGENAME}}</default> </title> <media source="Webbe.jpg"/> <data source="theme_code_index"> <label>Theme code Index</label> <default>default_value</default> </data> </infobox>
Interestingly, this one instead shows
- the image declared in <default> (Example.jpg) and not the one in <media> tag (Webbe.jpg).
- the alternative title declared in <default> and not the one declared in <alt> tag
- a question mark in azure field instead of the image (Example.jpg). The missing-image link URL is correct (i.e. if you click on the exclamation mark you'll get the Example.jpg image).
<infobox> <title source="title_source"> <default>{{PAGENAME}}</default> </title> <media source="Webbe.jpg"> <default> "Example.jpg"</default> <alt source="alternative_title"> <default>Default alt text</default> </alt> </media> <data source="theme_code_index"> <label>Theme code Index</label> <default>default_value</default> </data> </infobox>
curiouser and curiouser...