Page MenuHomePhabricator

Cannot open image(s) on office.wikimedia.org: "Error: readapidenied" in MediaViewer
Closed, ResolvedPublic

Description

There is no way to access the image on Commons from the website without being logged in.

Event Timeline

DannyS712 subscribed.

The issue, if I'm understanding this correctly, is that clicking on the the image at https://office.wikimedia.org/wiki/Main_Page brings up https://office.wikimedia.org/wiki/File:Wikimedia_Foundation_All_Hands_2018_-_Myleen_Hollero_(edited).jpg, which isn't available to non-users

Solution: add that page to wgWhitelistRead
Is there someone who needs to approve this for the office site?

Is there someone who needs to approve this for the office site?

I don't think so, I think you can treat this as any other site configuration change.

For what it's worth, I agree that this is a good idea.

Reedy triaged this task as Lowest priority.Dec 1 2019, 10:17 PM

The image is (C) WMF and can be easily found on Commons.

Aklapper renamed this task from Any way to make the image of office.wikimedia.org publicly clickable? to Cannot open image(s) on office.wikimedia.org: "Error: readapidenied" in MediaViewer.Dec 2 2019, 12:31 PM
Aklapper edited projects, added MediaViewer; removed Commons.

Hmm at this point it might be easier to edit the page to avoid this.

We could replace the image:

[[File:Wikimedia Foundation All Hands 2018 - Myleen Hollero (edited).jpg|right|frameless|500px]]

…with:

<div class="noviewer">[[File:Wikimedia Foundation All Hands 2018 - Myleen Hollero (edited).jpg|link=commons:File:Wikimedia Foundation All Hands 2018 - Myleen Hollero (edited).jpg|right|frameless|500px]]</div>

The class="noviewer" disables MultimediaViewer, and link=... links directly to Commons instead of the inaccessible local image page.

We'll need an Officewiki administrator to edit the page. @Reedy?

FWIW the div is unnecessary, MediaViewer does not open images which link to a non-standard URL (since these are usually used for navigation).