Page MenuHomePhabricator

OAuth Api Support: User-Agent and latest Id
Closed, InvalidPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

I am quit new here and try to edit a page from my mediawiki.org project via OAuth.

I´m using the instruction on https://api.wikimedia.org/wiki/API_reference/Core/Pages/Edit_page

I have the Access Token but I am unsure if I put the right input in

'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
and
'latest': { 'id': 'LATEST_REVISION_ID' }

because it doesn´t update the Mediawiki Page. ( https://<xxx>.<yyy>.org/mediawiki/index.php/<page> )

Can you help me to find the right input for 'User-Agent' and 'Latest'?

What happens?:

Get a 200 Response but nothing changes on the page

What should have happened instead?:

The text of a page should be changed

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

https://<xxx>.<yyy>.org/mediawiki/index.php/<page>

Event Timeline

Hi @CarlaSch, thanks for taking the time to report this and welcome to Wikimedia Phabricator!
https://api.wikimedia.org/ is for Wikimedia sites; you may want to check https://www.mediawiki.org/wiki/API:Edit and bring up any questions on https://www.mediawiki.org/wiki/Project:Support_desk - thanks.