Jump to content

Commons talk:Media of the day

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 3 days ago by RoyZuo in topic Use file captions

Feel free to nominate your favorite video or animation. We suggest to use the template below. If disagreement about MOTD cannot be resolved, start discussion at Village pump.

== Nomination: [[:File:FILENAME]] ==
[[File:FILENAME|300px|thumbtime=0:24|]]
[[:File:FILENAME]]
(any additional comments here, e.g. suggested date)
--~~~~

Please vote for Phabricator:T24521 if you want to enable to change a description page of a file on the main page.

Use file captions

[edit]

{{File caption|mid=M{{PAGEID:File:{{Motd/{{#time:Y-m-d|today|en}}}}}}|lang={{{lang|en}}}}}

English: When concentrated sulfuric acid comes into contact with sucrose, slow carbonification of the sucrose takes place. Edit this at Structured Data on Commons

I put together the code to use Commons:File captions directly instead of writing a caption in a one-time template.

https://commons.wikimedia.org/w/index.php?oldid=1079295922 would be the new version of Template:Main Page Template/motd implementing this change.

So if users still create the caption template, that will be displayed. otherwise, the file captions on the file is fetched and displayed. RoyZuo (talk) 07:20, 31 August 2025 (UTC)Reply