Commit graph

4 commits

Author SHA1 Message Date
Ammar Abdulhamid ec54775b9d Ensure hook callback does not abort SidebarBeforeOutput
SidebarBeforeOutput must not be aborted with false return
value at all.

Bug: T255444
Change-Id: Icccac3e450b2b067cd1185ef7b5d26a2dffcb8dc
2020-06-17 01:41:53 +01:00
Ammar Abdulhamid b9bdc3fc19 Use SidebarBeforeOutput hook to add 'cite this page' sidebar link.
* Remove usage of BaseTemplateToolbox in favor of SidebarBeforeOutput hook
* Also remove SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook, since SidebarBeforeOutput can provide functionalities of both.

Bug: T253687
Depens-On: Ie10a59048cdf882bad811d3c8fae386d90e93867
Change-Id: Ibe989364b9e500497759e79b789667d0a3430828
2020-05-30 04:49:18 +01:00
Sohom Datta ca97c3fb06 Add setFormIdentifier to prevent validation errors
Used the setFormIdentifier to add a additional
parameter to the url, allowing prefilled requests
to be distinguished and thus preventing validation
errors. Also, updated the url parameters at
CiteThisPageHooks.php.

Bug: T238467
Change-Id: Ic1d0612bb4d4a40bc1ce0588c65782e33c09c3ca
2019-11-18 18:24:46 +05:30
Kunal Mehta 14c37dd760 Move classes into includes/
Change-Id: I1aa22e05f5968d7e099bdc738ce54ec0d12c31d1
2018-02-09 18:37:58 +00:00
Renamed from CiteThisPage.hooks.php (Browse further)