Page MenuHomePhabricator

Make ContactPage extensible
Closed, ResolvedPublic

Description

Add a hook/configuration to allow site admins to easily add fields (rather than hacking it up and creating forks *cough*ContactPageFundraiser*cough*).

This came about about some tiny discussion in the channel about bug 26813.

This would get around needing to keep the bitrotted ContactPageFundraiser which also has some few i8n/display issues as well (but that is another matter)


Version: unspecified
Severity: enhancement

Details

Reference
bz26880

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:20 PM
bzimport set Reference to bz26880.

Hooks are present, i.e. "ContactFormBeforeMessage" and ""ContactForm. With r76660 ff. and r76694 I made the ContactPage more flexible, see the README how to create differenct forms with the same extension.

I use this in http://wikimedia.de/wiki/Spezial:Kontakt/mitgliedschaft

Therefore I think this bug can be closed as WFM but maybe someone see another usecase which needs another hook.

Bug 24682 suggests a config for replacing the one-off one with the stock one; needs to be checked to see if it's sufficient. If so, then this bug can be closed out; if not then whatever needs adding needs to be added.

Once done and live, it'll be safe to remove the ContactPageFundraiser ext.