On Wed, Jun 1, 2016 at 1:40 PM, Neil P. Quinn <nquinn(a)wikimedia.org> wrote:
I used the "loginCTA" campaign data just a
couple weeks ago to track the
effects of a change to the design of the call to action on
Special:UserLogin.[1] Since the Editing department is (theoretically at
least) responsible for accounts and signups, I imagine I'll have reasons to
use it in the future as well. So I definitely vote for keeping it.
It's not critical data, though, so if it makes more sense to put the
instrumentation back in next week's train, that's fine.
To put the campaign back, someone will have to figure out a good way to let
an extension mess with the link in LoginSignupSpecialPage::getAuthForm().
Options include
- Sticking a new hook in there to mess with the link and/or the HTML.
- Rearranging the code so it's done as an HTMLInfoField instead of being
appended as HTML using HTMLForm->addFooterText(), so you can use the
existing 'AuthChangeFormFields' hook to mess with it.
--
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation