Page MenuHomePhabricator

Implement 'Subscribe to the release announcements mailing list.' in the installer
Closed, ResolvedPublic

Description

See also

  • bug 26522
  • comments on r79089

So to reimplement this, I suggest one of the following ideas:

Seperate form in new window

  • a bordered box next to the Email field (a seperate <form target="_blank">[1]), that is enhanced via javascript.
  • This form has a "Subscribe to the release announcements mailing list" <legend>
  • a label with "Email"
  • and a "Subscribe" submit button.
    • When pressed submit to a new window. User sees the result and knows that a confirmation link send by lists.wikimedia will be waiting in the Inbox.

Within PHP when pressing next

  • We use the value of the normal Email-field
  • A checkbox that will decide whether or not to subscribe.
  • When Continue is pressed on the Name-page, a POST-request is done to the mailingslist page. The result of it is ignored.

[1] With target="_blank" it submits to a new window. With javascript we may be able to do it nicer via AJAX. And POST it and use the return to show a message. However this may be impossible due to cross-domain restrictions. Nonetheless target="_blank" works fine.


Version: 1.18.x
Severity: enhancement

Details

Reference
bz26550

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:24 PM
bzimport set Reference to bz26550.
bzimport added a subscriber: Unknown Object (MLST).

I went with option 2 in r79678.

They still get an e-mail and temporary password.