Page MenuHomePhabricator

Create separate JS file for campaign page
Closed, ResolvedPublic

Description

The JavaScript for generating the country dropdown on WikiLoves campaigns is currently in main.js and loading on every page.

  • create new campaign.js file, with all the functions from main.js moved over
  • load it with {{block script}} on it's corresponding view

Event Timeline

Change 513502 had a related patch set uploaded (by Eugene233; owner: Eugene233):
[labs/tools/Isa@master] Create separate JS file for campaign page

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

Change 513502 merged by jenkins-bot:
[labs/tools/Isa@master] Create separate JS file for campaign page

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

NavinoEvans moved this task from In progress to Complete (deployed) on the ISA board.