Page MenuHomePhabricator

Drop the "/Wishes" and "/Focus areas" from page titles
Closed, ResolvedPublic2 Estimated Story Points

Assigned To
Authored By
MusikAnimal
Sep 24 2025, 9:14 PM
Referenced Files
F66710607: 2025-09-29_09-15-49.mp4
Sep 29 2025, 4:50 PM
F66710601: 2025-09-29_09-13-59.mp4
Sep 29 2025, 4:50 PM
F66710600: 2025-09-29_09-12-25.mp4
Sep 29 2025, 4:50 PM
F66710584: 2025-09-29_08-58-34.png
Sep 29 2025, 4:50 PM
F66710582: 2025-09-29_09-03-34.png
Sep 29 2025, 4:50 PM

Description

Per the discussion at T403307.

The page title structure of Community Wishlist/Wishes/W123 (and similar to /Focus areas) was because we had arbitrary page titles in the old system that made it difficult to infer if a page is a wish or focus area based on the entity title alone.

In the new system, we have autogenerated IDs that are prefixed with either W or FA, so we can tell by the subpage title itself whether it's a wish or a focus area. Thus, we do not need the /Wishes and /Focus areas to be part of the path.

Acceptance criteria

  • All wishes should live at i.e. Community Wishlist/W123, and focus areas at i.e. Community Wishlist/FA123

Derived Requirement

Update the page title structure for Community Wishlist entities:

  • Wishes should be located at Community Wishlist/W<ID> (e.g., Community Wishlist/W123).
  • Focus areas should be located at Community Wishlist/FA<ID> (e.g., Community Wishlist/FA123).
  • The redundant /Wishes and /Focus areas path segments should be dropped.
  • Pages should remain correctly identifiable as wishes or focus areas by their prefix (W or FA).
  • Existing links should resolve to the new structure.
Test Steps

Test Case 1: Wish Page URL Structure

  1. Navigate to a wish page previously under Community Wishlist/Wishes/W123.
  2. ✅❓❌⬜ AC1: The page loads at Community Wishlist/W123, not /Wishes segment is present in the path.

Test Case 2: Focus Area Page URL Structure

  1. Navigate to a focus area page previously under Community Wishlist/Focus areas/FA123.
  2. ✅❓❌⬜ AC2: The page loads at Community Wishlist/FA123, not /Focus areas segment is present in the path.

Test Case 3: Backward Compatibility of Old Links

  1. Try opening an old-format wish URL: Community Wishlist/Wishes/W123.
  2. ✅❓❌⬜ AC3: The user is redirected to or resolved at Community Wishlist/W123.
  3. Repeat for a focus area URL: Community Wishlist/Focus areas/FA123.
  4. ✅❓❌⬜ AC4: The user is redirected to or resolved at Community Wishlist/FA123.

Test Case 4: Consistency in Navigation UI

  1. Open the Community Wishlist index pages (wishes and focus areas).
  2. Click on a listed wish or focus area.
  3. ✅❓❌⬜ AC5: Links point directly to the new format (/W123 or /FA123).

QA Results - Meta Beta

Event Timeline

MusikAnimal changed the task status from Open to In Progress.
MusikAnimal renamed this task from Drop the "/Wishes" and to Drop the "/Wishes" and "/Focus areas" from page titles.Sep 24 2025, 9:18 PM
MusikAnimal claimed this task.
MusikAnimal triaged this task as High priority.
MusikAnimal updated the task description. (Show Details)
MusikAnimal set the point value for this task to 8.
MusikAnimal changed the point value for this task from 8 to 5.
MusikAnimal changed the point value for this task from 5 to 3.Sep 24 2025, 9:21 PM
MusikAnimal changed the point value for this task from 3 to 2.Sep 24 2025, 9:30 PM

Change #1191178 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] Remove the /Wishes and /Focus_areas from page titles

https://gerrit.wikimedia.org/r/1191178

The changes to the estimation… lol! I had thought this was going to be a little tricky, but thankfully we made the page path configurable so it was actually very simple to change!

Change #1191178 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Remove the /Wishes and /Focus_areas from page titles

https://gerrit.wikimedia.org/r/1191178

@MusikAnimal Confirmed that they drop the "/Wishes" and "/Focus areas" from page titles, as seen from the screenshots/video.

Test Result - Meta Beta

Status: ✅ PASS
Environment: Meta Beta
OS: macOS Tahoe 26.0
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Wish Page URL Structure

  1. Navigate to a wish page previously under Community Wishlist/Wishes/W123.
  2. AC1: The page loads at Community Wishlist/W123, not /Wishes segment is present in the path.

2025-09-29_09-03-34.png (927×949 px, 138 KB)

Test Case 2: Focus Area Page URL Structure

  1. Navigate to a focus area page previously under Community Wishlist/Focus areas/FA123.
  2. AC2: The page loads at Community Wishlist/FA123, not /Focus areas segment is present in the path.

2025-09-29_08-58-34.png (998×955 px, 204 KB)

Test Case 3: Backward Compatibility of Old Links

  1. Try opening an old-format wish URL: Community Wishlist/Wishes/W3.
  2. AC3: The user is redirected to or resolved at Community Wishlist/W3.

  1. Repeat for a focus area URL: Community Wishlist/Focus areas/FA1.
  2. AC4: The user is redirected to or resolved at Community Wishlist/FA1.

Test Case 4: Consistency in Navigation UI

  1. Open the Community Wishlist index pages (wishes and focus areas).
  2. Click on a listed wish or focus area.
  3. AC5: Links point directly to the new format (/W123 or /FA123).

GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF updated the task description. (Show Details)