Extract method
Extract method
Get rid of arbitrary conversion of dash from php
Fix version diffing in division history page. Fixes #552