Page MenuHomePhabricator

Archive wikimedia/oauth2-server
Closed, ResolvedPublic

Description

wikimedia/oauth2-server is our fork of thephpleague/oauth2-server that we used until T261462: Migrate OAuth extension back from wikimedia/oauth2-server fork to upstream. It's not needed anymore, and it was never a good idea in the first place (it was basically just upstream + two small patches that could be easily written as subclasses), we should archive it.

Note that old versions of the OAuth extension will keep using it, so the repo mustn't be deleted, just archived.

* [ ] Update wikimedia/oauth2-server README pointing to thephpleague/oauth2-server. Gergo updated "About" section of the repo instead.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Github, Packagist, not sure if there's anything else.

"All" the other stuff, yes, though 90% of that form doesn't apply to non-extensions.

Github, Packagist, not sure if there's anything else.

Was a packagist for this ever published? I've searched but couldn't find one. Seems the fork never made it to Packagist?

Seems the fork never made it to Packagist?

Yeah that makes sense, since we were using a repository override and loading it as "league/oauth2-server".

We can just go and archive it then. That doesn't make the code unaccessible to composer so should not be a problem for older branches.

Not sure I'd bother with the README which we never changed from upstream's version, but I updated the "About" section at https://github.com/wikimedia/oauth2-server.

bd808 subscribed.

I archived the github repo. I can toggle it back to active for a while if that was done too soon.

DAlangi_WMF changed the task status from Open to In Progress.Mar 9 2026, 8:50 PM
DAlangi_WMF assigned this task to Tgr.
DAlangi_WMF updated the task description. (Show Details)

I archived the github repo. I can toggle it back to active for a while if that was done too soon.

@bd808, I don't think you did it too soon, it was right on time :) I'll let @Tgr resolve this if that's it. Thank you very much!

I think older versions of MediaWiki should still work regardless.