Steps to replicate the issue (include links if applicable):
- Campaing config adds a monument template: {{Zabytek nieruchomy|$1}} https://commons.wikimedia.org/w/index.php?title=Campaign:wlm-pl&action=edit
- Upload a photo, the template is added to the end of description see: https://commons.wikimedia.org/wiki/File:Ko%C5%9Bci%C3%B3%C5%82_dominikan%C3%B3w_w_Tarnobrzegu_2024_z_drona_12.jpg
- Visit in media viewer: https://commons.wikimedia.org/wiki/Category:Church_of_the_Assumption_in_Tarnobrzeg#/media/File:Ko%C5%9Bci%C3%B3%C5%82_dominikan%C3%B3w_w_Tarnobrzegu_2024_z_drona_12.jpg
What happens?:
Shows text from a template, and not even full text (id is not shown):
This is a photo of a monument in Poland identified by the ID:
What should have happened instead?:
Should show actual, iundividual description like:
Church of the Assumption in Tarnobrzeg, the painting show Our Lady and St. Dominic
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Commons.
Other information (browser name/version, screenshots, etc.):
Firefox 129, Windows 11.