#296268 by pahariwalla. Function reference links to 404's for contributed modules and wrong branch for core functions. D5 backport.