Include additional analytics in Special:Search
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 24 Sep 2015 20:35:25 +0000 (13:35 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Mon, 28 Sep 2015 22:10:07 +0000 (15:10 -0700)
commit5014a99c0588ecd6a02035306bdd87a8cb4663e8
tree5a4d97a59925560445e47dd9e84cf5f3e2c30008
parenta092fb36281f1ad4f32e56366b13b7d3dd61cd47
Include additional analytics in Special:Search

* Adds query performed to javascript config, to be picked up by
  the TestSearchSatisfaction schema.

* Adds data-serp-pos attribute to serach result anchors.
  This is picked up by the TestSearchSatisfaction schema
  and appended to urls (when participating in the test)
  as the `wprov` query parameter.

Bug: T113291
Change-Id: Ia0e8a955806e225e2f5a500e9290145895737274
includes/specials/SpecialSearch.php