Page MenuHomePhabricator

[DOT] Perform necessary redirect after creating new lexeme with Special:NewLexeme
Closed, ResolvedPublic

Description

With T357024, the API will return a URL initialized by CentralAuth; we should redirect to this URL instead of the new lexeme (the URL will then redirect to the new lexeme once it’s finished setting up the temporary account).

The non-JS version of the special page also needs to be updated accordingly.

Event Timeline

Moving back for updating the code + submodule in WikibaseLexeme.git.

Change 1005445 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/WikibaseLexeme@master] Process CentralAuth redirects on new lexeme as TempUser

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

Change 1005445 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Process CentralAuth redirects on new lexeme as TempUser

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

Change 1006491 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseLexeme@master] Redirect for temp user in no-JS Special:NewLexeme

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

Sorry, I just realized the no-JS version of the special page can also create lexemes and should also do the redirect.

Change 1006491 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Redirect for temp user in no-JS Special:NewLexeme

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

Arian_Bozorg claimed this task.
Arian_Bozorg subscribed.

This works for me! Thanks so much