Page MenuHomePhabricator

Apply for access reloads page
Closed, ResolvedPublic

Description

When browsing partners (eg. https://wikipedialibrary.wmflabs.org/partners/16/) there is a large "Apply for access" button on the right side of the page. This button reloads the page but does not actually go to an application. Applicants currently must click on "Apply for access" in the top menu instead.

Event Timeline

So it looks like we're missing the correct data for the partner detail template to pick up.
The generated link should be

"/applications/apply/16/"

but is instead

""

ah, looks like we're setting that url inside a conditional that isn't always true. should be a single line code fix, but let me finish getting my test environment working so that I don't blow up the site. Should get it fixed today.

Couldn't get the test environment to an adequate place, so I applied a very unclever but conservative fix to production.