Page MenuHomePhabricator

Partial block interface and/or underlying API allow same page to be targeted multiple times
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to Special:Block for some test user
  • Select "partial" for block type
  • In the "Pages" text box, enter the same page title twice, once with spaces, and once with underscores (e.g. test page and test_page). Alternatively, enter a page title with a namespace alias, and the same title with the canonical namespace name (e.g. WP:FOO and Wikipedia:FOO).
  • Block the user

What happens?:

What should have happened instead?:

  • The interface or API (ideally the latter?) should have resolved the two titles to the same underlying page, and only blocked once / listed the block once.

Software version (skip for WMF-hosted wikis like Wikipedia): tested on enwiki

Other information (browser name/version, screenshots, etc.): Firefox 103.0.2 on macOS 12.0.1

Event Timeline

Change 824327 had a related patch set uploaded (by Legoktm; author: Legoktm):

[mediawiki/core@master] htmlform: Deduplicate and normalize titles in `titlesmultiselect`

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

Aklapper added a subscriber: Legoktm.

@Legoktm: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on October 11th.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

Change #824327 abandoned by Hashar:

[mediawiki/core@master] htmlform: Deduplicate and normalize titles in `titlesmultiselect`

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

Change #824327 restored by Thcipriani:

[mediawiki/core@master] htmlform: Deduplicate and normalize titles in `titlesmultiselect`

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