Media: Remove revision parameter#1021
Conversation
|
Why doesn't it? It would be fairly weird for the user if they read one revision of a page, and while they're reading a new revision with completely different media pops up |
|
It can't because the MediaWiki API query now used to get the file page titles only considers the latest revision, and there's apparently no way to specify a previous revision. If that's a problem for clients then that's a strong argument in favor of reverting the change (which didn't really help on performance as intended). |
For that we better ask the apps teams or product managers, I was just wondering what happened |
Updates this to reflect that the MCS media endpoint no longer supports specific revision requests as of the updates in the most recent deployment.
The reason is that the information we're requesting is stored in the |
|
I would prefer keeping the ability to specify an older version. The media information is something which could reasonably be requested quite some time after the corresponding page was loaded. It's important that the media info matches the loaded page. |
|
Yeah, especially since the patch didn't actually move the needle on performance, it's probably not worth giving up the ability to specify a revision. I'll revert. |
Updates this to reflect that the MCS media endpoint no longer supports
specific revision requests as of the updates in the most recent
deployment.