Fix hook situation for Skin::doEditSectionLink
commit56c1c43dc5d916e1348596b4e8eb6fca83115688
authorAlex Monk <krenair@wikimedia.org>
Sat, 14 Feb 2015 00:18:12 +0000 (14 00:18 +0000)
committerLegoktm <legoktm.wikipedia@gmail.com>
Thu, 19 Feb 2015 16:03:22 +0000 (19 16:03 +0000)
tree9cf8f6534adc287cc9e79e1bc2df4d9bf01b081b
parente2011f50dbff9188003fe1708c7444f34728aa01
Fix hook situation for Skin::doEditSectionLink

The old hook supplied a way to override the HTML used for the section link,
but two extensions both trying to use it was obviously not going to work.
Deprecate it in favour of a hook that goes around gathering info to build
the initial HTML, then shoves it through the old hook for back-compat.

So that WikiEditor can add in extra URL parameters as well as VE adding in it's
own link.

Bug: T88027
Change-Id: I5a7a23709805625bdefb69cd9379be0c95acd982
docs/hooks.txt
includes/skins/Skin.php