Page MenuHomePhabricator

Archive the OpenID extension
Closed, ResolvedPublicRequest

Description

Reason
Unmaintained, probably broken, there is an alternative extension: https://www.mediawiki.org/wiki/Extension:OpenID_Connect

To-do list

  • This task
  • Add maintainers of that extension as subscribers to this task (if they have no apparent Phabricator account, notify them on-wiki or via email if possible and note it here).
  • Add Phabricator project <#mediawiki-extensions-OpenID> as a tag for this task.
  • On-wiki documentation
  • Archive documentation on mediawiki.org (https://www.mediawiki.org/wiki/Extension:OpenID): replace page contents with {{Archived extension|last revision id before archiving|task=T######}}; replace T###### with this task's number.
  • If documentation page was translatable, remove <translate>, visit Special:PageTranslation, and click "remove from translation" (if you don't have the translation administrator right, ask a user who does).
  • Update Wikidata item (https://www.wikidata.org/wiki/Special:EntityPage/Q21677881) associated with documentation page
    • add statement Abandonware (Q281039) to instance of (P31) together with qualifier start time (P580) = the YYYY-MM-DD date that you decided to archive extension (generally per edit history)
    • add qualifier end time (P582) = the YYYY-MM-DD (same date as above) to instance of (P31) = MediaWiki extension (Q6805426)
  • Phabricator
  • Mark all Phabricator tasks for the extension either Declined or Invalid. Add a comment pointing to this task when doing so for reference.
  • Archive Phabricator project <#mediawiki-extensions-OpenID> for the extension.
  • Edit Phabricator project <#mediawiki-extensions-OpenID> description for the extension with a link to this ticket.
  • Translatewiki.net/translations
  • Remove from translatewiki.net (groups/MediaWiki/mediawiki-extensions.txt). (patch)
  • Configuration/tests/integrations/etc.
  • Remove tests in integration/config (zuul/layout.yaml).
  • Remove manifest/other references from mediawiki/vagrant if they exist.
  • Remove from https://doc.wikimedia.org/cover-extensions/ if present (requires Continuous-Integration-Infrastructure shell user to delete directly from the server).
  • Repositories
  • Empty repository, leaving only the README indicating the repo is archived, and referring to this task by URL.
  • Remove from mediawiki/extensions (along with in .gitmodules).
  • Mark the repository read-only in Gerrit (also edit description to prepend "[ARCHIVED]" and a reference to this task): (https://gerrit.wikimedia.org/r/admin/repos/mediawiki/extensions/OpenID).
  • Archive the Diffusion repository for the extension: (rEOID extension-OpenID).
  • Error updating working copy: Unexpected object type from git cat-file`: 46dd3d25018dc3d49a50c90e0ad0d91cbfd3139a tree 1171`
  • Delete the GitHub mirror: (https://github.com/wikimedia/mediawiki-extensions-OpenID).

Related Objects

Mentioned In
MediaWiki-extensions-OpenID
T280518: Postgres schema `mwuser` table is renamed
T242566: OpenID needs uses of global $wgUser removed
T229368: SpecialOpenIDLogin.body.php:152 "Class 'LoginForm' not found" since MW 1.33
T227988: OpenId test failures
T201864: SpecialOpenIDLogin.body.php:154 - get_class() expects parameter 1 to be object, null given
T156978: option to enforce OpenID username == wiki username
T110295: Update OpenID to use AuthManager
T105548: Internal error when trying to create an account
T89154: Potential same server issues for Mediawiki OpenID provider and other website consumer
T71148: errors in log file and not working as a provider
T68605: OpenID prevents wiki update when running on an sqlite database
T59579: E:OpenID as consumer: ChangePassword page is shown twice when attaching an OpenID to an existing account using the _temporary_ password
T58660: Use autocreate permission to create new users
T58254: E-Mail-based whitelist domains for OpenID
T56677: Do account creation checks when creating users
T56512: E:OpenID needs to work with $wgSecureLogin
T56510: $wgOpenIDServerStoreType and $wgOpenIDConsumerStoreType need to support something other than 'file'
T56509: remove deprecated, deleted functions like DataBase::safeQuery and User::getSkin
T55087: Extension:OpenID is not yet CSP compliant because it still uses of inline CSS
T53331: [SUGGESTION] Allow existing users to log in with name/password, new users must use OpenID
T48258: [BUG] E:OpenID when used as Provider does not populate sreg (or ax) fields nickname, email...
T47914: [CODE QUALITY] Refactor the storage of "trust" information in the user properties (use JSON)
T46438: [CODE QUALITY] E:OpenId still contains several header() statements. Check, what can be improved by correct methods.
T41462: [SUGGESTION] E:OpenID and separate mediawiki installations with shared user database
T36357: [SEVERE DESIGN PROBLEM] OpenID-created account owners cannot set their e-mail address and/or reset their password when the account lacks an e-mail address or password - race condition
T31254: [SUGGESTION] Expose group memberships for query through OpenID teams extension
T204318: Convert OpenID to use extension registration

Event Timeline

Change 907488 had a related patch set uploaded (by Amire80; author: Amire80):

[translatewiki@master] Archive several extensions

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

Change 907488 merged by jenkins-bot:

[translatewiki@master] Archive several extensions

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

Change 968679 had a related patch set uploaded (by Zoranzoki21; author: Zoranzoki21):

[translatewiki@master] mediawiki-extensions.txt: Remove few extensions

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

Change 968679 merged by jenkins-bot:

[translatewiki@master] mediawiki-extensions.txt: Remove few extensions

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

Change 968697 had a related patch set uploaded (by Zoranzoki21; author: Zoranzoki21):

[integration/config@master] Zuul: Archive the OpenID extension

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

Change 968697 merged by jenkins-bot:

[integration/config@master] Zuul: Archive the OpenID extension

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

Change 968702 had a related patch set uploaded (by Zoranzoki21; author: Zoranzoki21):

[mediawiki/extensions@master] Remove few extensions

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

Change 968702 merged by Hashar:

[mediawiki/extensions@master] Remove few extensions

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

Change 968706 had a related patch set uploaded (by Zoranzoki21; author: Zoranzoki21):

[mediawiki/extensions/OpenID@master] Archive repository

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

Change 968706 merged by Hashar:

[mediawiki/extensions/OpenID@master] Archive repository

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

About the error from Diffusion: Can't we just delete and recreate the mirror, or just delete it?

I can't archive the repository on Diffusion. On https://phabricator.wikimedia.org/diffusion/EOID/manage/basics/ it states:

Error updating working copy: Unexpected object type from `git cat-file`: 46dd3d25018dc3d49a50c90e0ad0d91cbfd3139a tree 1171

Which I guess is to be investigated :)

I can't archive the repository on Diffusion. On https://phabricator.wikimedia.org/diffusion/EOID/manage/basics/ it states:

Error updating working copy: Unexpected object type from `git cat-file`: 46dd3d25018dc3d49a50c90e0ad0d91cbfd3139a tree 1171

Which I guess is to be investigated :)

Should we create another task for it?

I ran git fsck and git gc and that solved the issue and I have deactivated rEOID extension-OpenID!

I ran git fsck and git gc and that solved the issue and I have deactivated rEOID extension-OpenID!

Amazing, then we can call this task, as well, done. :)

Thank you again!