Steps to replicate the issue
- Navigate to https://mediawiki.org/wiki/Special:ApiSandbox#action=flow&format=json&submodule=view-topic&page=Topic:Uecl7etmvwe4tg5x&formatversion=2&vtformat=wikitext
- Make the autofilled API request.
What happens?
There is no image present in the wikitext API response, despite there being an image present at https://mediawiki.org/wiki/Topic:Uecl7etmvwe4tg5x
What should have happened instead?
The image should have been included in the wikitext API response, given that it was part of the topic.
Software version
WMF production - Special:Version gives me MW 1.44.0-wmf.20 & Parsoid 0.21.0-a20
Other information/notes
- Information about the image is included in the HTML api response: see https://mediawiki.org/wiki/Special:ApiSandbox#action=flow&format=json&submodule=view-topic&page=Topic:Uecl7etmvwe4tg5x&formatversion=2&vtformat=html
- Discovered in the run of the MW.org Flow cleanup bot; see https://mediawiki.org/wiki/User_talk:Pppery#Flow_cleanup_bot_(posting_here_to_avoid_accidentally_cluttering_the_thread_at_the_Village_Pump)