Page MenuHomePhabricator

Remove custom Legalpad API downstream changes
Closed, ResolvedPublic

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Remove custom Legalpad API downstream changesrepos/phabricator/phabricator!58aklapperT364088rmLegalpadConduitwmf/stable
Customize query in GitLab

Event Timeline

@sguebo_WMF, @jrbs: Would you know if our custom Phabricator API from non-public T253265 is still used in some ways (e.g. for https://meta.wikimedia.org/wiki/Access_to_nonpublic_personal_data_policy/Noticeboard or such) nowadays, and where its code is located?
That code would pull data from Phabricator by calling legalpad.search and/or legalpad.signature.search. Thanks in advance!

I'd like to deprecate and remove https://phabricator.wikimedia.org/conduit/method/legalpad.search/ and https://phabricator.wikimedia.org/conduit/method/legalpad.signature.search/ in favor of upstream https://phabricator.wikimedia.org/conduit/method/legalpad.document.search/ and https://phabricator.wikimedia.org/conduit/method/legalpad.signature.search (the latter is probably the same code anyway).

@sguebo_WMF, @jrbs: Could you please answer the last comment? Thanks in advance!

Sorry, I was on sabbatical until yesterday.

@sguebo_WMF, @jrbs: Would you know if our custom Phabricator API from non-public T253265 is still used in some ways (e.g. for https://meta.wikimedia.org/wiki/Access_to_nonpublic_personal_data_policy/Noticeboard or such) nowadays, and where its code is located?
That code would pull data from Phabricator by calling legalpad.search and/or legalpad.signature.search. Thanks in advance!

I'd like to deprecate and remove https://phabricator.wikimedia.org/conduit/method/legalpad.search/ and https://phabricator.wikimedia.org/conduit/method/legalpad.signature.search/ in favor of upstream https://phabricator.wikimedia.org/conduit/method/legalpad.document.search/ and https://phabricator.wikimedia.org/conduit/method/legalpad.signature.search (the latter is probably the same code anyway).

I am not super familiar with the technical side of things but my understanding is that right now we do not use the API for this. (I wrote a short thing in Python a few months ago to automate the checks, compare them to SUL accounts for account age / edit count / user rights / blocks, etc. but it is not actively used by anyone else.) So I think I would have no blockers especially since they seem extremely similar to me. Maybe even the same?

Edit to clarify that the Python script I mention here was never published anywhere. I can provide it if it's helpful but since it's not actually really used I don't think it would be.

Aklapper removed subscribers: jrbs, sguebo_WMF.

Yay, thanks a lot! I'm going to undeploy our custom changes then on one of the next Tuesdays. In case anything breaks we can always revert that change again. :)

Deployed on 2024-06-25; setting status to resolved.