Page MenuHomePhabricator

Certain wiki's without centralauth fail for photo uploads
Closed, InvalidPublic

Description

On office wiki I get
{"warnings":{"tokens":{"*":"Unrecognized value for parameter 'type':
centralauth"}},"tokens":[]}

When the upload attempt is made to
https://office.m.wikimedia.org/w/api.php?format=json&action=tokens&type=centralauth

Can we fix this (not sure if this is a bug yet or a configuration problem)?


Version: unspecified
Severity: normal

Details

Reference
bz62514

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:59 AM
bzimport set Reference to bz62514.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1758

  • Bug 62515 has been marked as a duplicate of this bug. ***

Seems to be specific to office wiki. wgMFPhotoUploadEndpoint config variable is incorrectly set to Commons. Rectifying but no bug in MobileFrontend.

Change 118328 had a related patch set uploaded by MaxSem:
Upload to non-CentralAuth wikis locally from mobile

https://gerrit.wikimedia.org/r/118328

Change 118328 merged by jenkins-bot:
Upload to non-CentralAuth wikis locally from mobile

https://gerrit.wikimedia.org/r/118328