It's an Ancestry error.
For some reason searching for the marriage with just the surnames and year brought up only one result, which was claimed to be in Brotherton. Looking at the register (which is banns rather than marriages), it's rather suspicious that most of the addresses are in Halifax, so I investigated further.
This banns register has the WYAS reference WDP78/1/4/1, and the WYAS guide to parish registers shows that WDP78 is All Souls, Haley Hill. Brotherton is WDP74. You can see this at
https://www.wyjs.org.uk/media/69612/collection-guide-1-parish-registers.pdfI've no idea why the actual marriage didn't appear in the search results - presumably one of the names was indexed wrongly. Anyway, it can be seen by browsing - go to the marriage registers section and then select Halifax, Haley Hill, All Souls and the year 1878.
Ancestry's error in attributing the banns register to Brotherton really needs to be reported to them, though it's not certain that they'll do anything about it. Meanwhile you can enter the correct location manually, which might prevent others being misled.