Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Temporary accounts, wmde-wikidata-tech, 
Wikidata, Wikidata Dev Team.

TASK DESCRIPTION
  Per the parent task, special pages that make edits may need to redirect the 
visitor to a central login wiki if the edit created a temporary account. This 
presents a problem for three special pages:
  
  - Special:RedirectEntity
  - Special:MergeItems
  - Special:MergeLexemes
  
  All three of them show a simple message on success.
  F41816521: image.png <https://phabricator.wikimedia.org/F41816521>
  
  But if we need to redirect, we need to have something for the redirect to 
return to, once the CentralAuth login magic is done. I think we have two 
options:
  
  1. Create a new URL state for the special page that can be returned to, e.g. 
`Special:RedirectEntity/success/Q1/Q2` or 
`Special:RedirectEntity?fromid=L1&toid=L2&success=true`, which shows the same 
message as before. (IMHO it’s not important to actually authenticate / validate 
this state, i.e. check that such an edit was made. If someone manually puts 
together a “success” URL with entity IDs they didn’t actually edit, and makes 
the software show a technically incorrect “X was redirected to Y” message… good 
for them.)
  2. Redirect to something else after all, e.g. the target page of the 
redirect/merge, or the diff of the last edit that was made. (Note that the 
“merge” special pages make more than one edit on more than one entity, so 
technically isn’t a single diff we can link to.)
  
  (I originally had the first option in mind, but the second one feels more 
attractive to me right now. But that’s a product decision to make.)

TASK DETAIL
  https://phabricator.wikimedia.org/T357023

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, kostajh, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331, Ltrlg
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to