Closed Bug 1644120 Opened 5 years ago Closed 7 months ago

API Account for RelEng to update version number pages

Categories

(Websites :: wiki.mozilla.org, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfraser, Assigned: spike)

Details

When doing some release processes, release engineering updates some wiki pages with version numbers and release dates on:

https://moz-releng-docs.readthedocs.io/en/latest/procedures/release-duty/merge-duty/merge_duty.html#update-wiki-versions

We used to have a script [1] that updated these pages, but time moves on and the API changed.

I understand now from mediawiki documentation that we need a bot account to update pages using the API. Could we get one, please? Alternatively, what's best for automatically updating these pages:

https://wiki.mozilla.org/Template:Version/Gecko/release/next
https://wiki.mozilla.org/Template:Version/Gecko/central/current
https://wiki.mozilla.org/Template:Version/Gecko/beta/current
https://wiki.mozilla.org/Template:Version/Gecko/release/current
https://wiki.mozilla.org/index.php?title=Template:NextReleaseDate

[1] https://hg.mozilla.org/build/tools/file/default/buildfarm/maintenance/update_merge_day_wiki.sh

Hello,

Apologies for the delay in addressing this bug.

A new "bot" has been created for you on the wiki - https://wiki.mozilla.org/User:MarvinBot

Please email me sfraser and I will give you the password.

Spike

Assignee: nobody → spike
Flags: needinfo?(sfraser)

Password received and I can log in, however I get

{'error': {'code': 'writeapidenied', 'info': "You're not allowed to edit this wiki through the API", '*': 'See https://wiki.mozilla.org/api.php for API usage'}}

I've created a bot password using Special:BotPasswords and given it 'edit' rights. What might I be missing?

Flags: needinfo?(sfraser)
You need to log in before you can comment on or make changes to this bug.