https://bugzilla.wikimedia.org/show_bug.cgi?id=42709

       Web browser: ---
            Bug ID: 42709
           Summary: Cross domain tokens
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend (Beta)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Currently when adding a photo to an article it uploads it to Commons however it
doesn't add the image to the article.

Looking closely - the api call to prepend the image to the article gets a
response of {"servedby":"srv253","error":{"code":"badtoken","info":"Invalid
token"}}
1

It appears it is sending the token received from:
http://commons.wikimedia.org/w/api.php?format=json&action=tokens&type=edit&origin=http%3A%2F%2Fen.m.wikipedia.org

rather than the token for the current wiki.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to