Add GitViewers hook for extensions to add git viewers to SpecialVersion
authorSimon Walker <github@stwalkerster.co.uk>
Mon, 16 Apr 2012 16:57:58 +0000 (16:57 +0000)
committerSimon Walker <github@stwalkerster.co.uk>
Mon, 16 Apr 2012 16:57:58 +0000 (16:57 +0000)
commit6c29ec29219ec97ed76dbd3a46adb9457b9a9ff0
tree34fce14e21bf75d7af71c4ac6a3843c4b54b9670
parentc2dffcd7d363d67866b4d1e63c2fcfcb9f47dfb0
Add GitViewers hook for extensions to add git viewers to SpecialVersion

This adds a GitViewers hook to GitInfo, and slightly refactors the
$viewers variable to be called through a function so the hook can be
called. This is so extensions can add their own git repository viewer
to the Special:Version git sha field.

Change-Id: Ifc8396984de6a51be85fb63cd9754d57333bde03
RELEASE-NOTES-1.20
docs/hooks.txt
includes/GitInfo.php