Page MenuHomePhabricator

Page restrictions menu not being populated correctly
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

If I search for a page in the Pages input, no results or incorrect results are returned.

The results from the API request to action=query&prop=info|pageprops are not included in the menu and sometimes pages are included in the menu which were not returned by the API.

It seems to start happening with 4f327a6b56249b532c6953e2b97001a578707ce0.

Note, this is for the existing OOUI Special:Block form, not the new Codex Special:Block form done as part of the Multiblocks project.

Steps to reproduce problem
  1. https://en.wikipedia.beta.wmflabs.org/wiki/Special:Block
  2. Toggle Partial
  3. (Recommended) Open devtools
  4. In the Pages input, type "a"

Expected behaviour: Dropdown menu appears with entries including "Asia", "Albert Einstein", etc. You can look in the network tab of devtools to see which pages are returned by the API.
Observed behaviour: The dropdown menu has just the result "a".

Environment

Browser: Firefox 128.
Wiki(s): https://en.wikipedia.beta.wmflabs.org MediaWiki 1.44.0-alpha (13ed184) 14:34, 7 January 2025.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1110222 had a related patch set uploaded (by SD0001; author: SD0001):

[mediawiki/core@master] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Change #1110222 merged by jenkins-bot:

[mediawiki/core@master] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Change #1111568 had a related patch set uploaded (by Bartosz Dziewoński; author: SD0001):

[mediawiki/core@wmf/1.44.0-wmf.11] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Change #1111569 had a related patch set uploaded (by Bartosz Dziewoński; author: SD0001):

[mediawiki/core@wmf/1.44.0-wmf.12] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Change #1111568 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.11] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Change #1111569 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.12] htmlform: fix defaults for namespace and relative in titlesmultiselect

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

Mentioned in SAL (#wikimedia-operations) [2025-01-15T08:54:22Z] <urbanecm@deploy2002> Started scap sync-world: Backport for [[gerrit:1109756|Add license messages for new Wikinews licenses (T383338)]], [[gerrit:1106911|Update French wikinews license to CC-BY-SA 4.0 (T381946)]], [[gerrit:1111568|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]], [[gerrit:1111569|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]]

Mentioned in SAL (#wikimedia-operations) [2025-01-15T09:15:55Z] <urbanecm@deploy2002> matmarex, urbanecm, dreamrimmer: Backport for [[gerrit:1109756|Add license messages for new Wikinews licenses (T383338)]], [[gerrit:1106911|Update French wikinews license to CC-BY-SA 4.0 (T381946)]], [[gerrit:1111568|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]], [[gerrit:1111569|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]]

Mentioned in SAL (#wikimedia-operations) [2025-01-15T09:34:20Z] <urbanecm@deploy2002> Finished scap sync-world: Backport for [[gerrit:1109756|Add license messages for new Wikinews licenses (T383338)]], [[gerrit:1106911|Update French wikinews license to CC-BY-SA 4.0 (T381946)]], [[gerrit:1111568|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]], [[gerrit:1111569|htmlform: fix defaults for namespace and relative in titlesmultiselect (T383133)]] (durat