Page MenuHomePhabricator

[BUG] Pages Created and Pages Improved reports should not convert "/" to "%2F" in xtools links
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

Pages with "/" in their titles which appear in the Pages Created or Pages Improved reports should not convert "/" to "%2F" in the XTools link in the "More page metrics".

It will return a 404, such as https://xtools.wmflabs.org/articleinfo/en.wikivoyage/Edmonton%2FNorth

With the original "/" it goes to the correct place: https://xtools.wmflabs.org/articleinfo/en.wikivoyage/Edmonton/North

Steps to reproduce problem
  1. Go to https://eventmetrics-dev.wmflabs.org/programs/142/events/370 or setup an event with the parameters in the screenshot below
  2. Calculate data (if necessary)
  3. Open the Pages Improved report (CSV or Wikitext)
  4. Attempt to open the XTools link

Expected behavior: Takes you to https://xtools.wmflabs.org/articleinfo/en.wikivoyage/Edmonton/North
Observed behavior: Takes you to https://xtools.wmflabs.org/articleinfo/en.wikivoyage/Edmonton%2FNorth (404)

Screenshots (if applicable):

encoding_slashes_setup.png (805×820 px, 55 KB)

Event Timeline

jmatazzoni moved this task from Product sign-off to Done on the Community-Tech-Sprint board.

I tested this in Wikitext and csv, for Pages Created and Improved. All good. Resolving. Thanks Max!