DRY up rev link generation in History and Contributions
authorjdlrobson <jdlrobson@gmail.com>
Tue, 26 Mar 2019 16:47:08 +0000 (09:47 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Thu, 28 Mar 2019 23:23:58 +0000 (16:23 -0700)
commitea0a8e4e5c2c242ab4a36bba3e5675251bab2270
tree1b268a08313ac5a3411eed1dc194e11638938ca8
parentee09d4f0ee2e592e721f00805735afcb9e3e7e22
DRY up rev link generation in History and Contributions

ContribsPager and HistoryPager both duplicate efforts.
Instead move this code into a new static function inside
ChangesList that is shared between the two.

Bug: T216420
Change-Id: I0025d2e515d086b60670bd3f37307caac8d662a2
includes/actions/pagers/HistoryPager.php
includes/changes/ChangesList.php
includes/specials/pagers/ContribsPager.php