MediaViewer only loads on pages which have some images (by checking OutpuPage::getFileSearchOptions() in BeforePageDisplay); that does not work with transcluded user pages. example
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[WIP] Always enable on global user pages | mediawiki/extensions/MultimediaViewer | master | +3 -1 |
Event Timeline
@Legoktm is there a nice way to check if we are on a transcluded userpage? Also, can that page contain an image that's local to Meta?
We could make MV always load on transcluded user pages. It would break on images local to Meta as the imageinfo API is probably not aware of those at all, but that should be rare enough as uploads to Meta are discouraged (there was one file uploaded so far this year, and maybe a dozen in 2014).
Change 228751 had a related patch set uploaded (by Gergő Tisza):
[WIP] Always enable on global user pages
Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.
Not at the moment but planning to. The way I understood Kunal's comment on the patch is that this needs t be fixed in GlobalUserPage, not MediaViewer. I started writing a patch for that but then got distracted.
Change 228751 abandoned by Gergő Tisza:
[WIP] Always enable on global user pages
Reason:
Per Legoktm, probably not the right direction to go.