Page MenuHomePhabricator

Special:Block's Pages field does not allow the user to specify a redirect when it should
Open, LowPublic

Description

Problem
Users are unable to specify a redirect page for a partial block because the redirects are resolved to pages in the Pages field.
https://it.wikipedia.org/w/api.php?action=query&prop=info%7Cpageprops&generator=prefixsearch&gpssearch=1%20dicembre&gpslimit=10&ppprop=disambiguation&redirects=true

Solution
Remove the redirects option from the API query:
https://it.wikipedia.org/w/api.php?action=query&prop=info%7Cpageprops&generator=prefixsearch&gpssearch=1%20dicembre&gpslimit=10&ppprop=disambiguation
which should allow users to specify the redirected page.

Event Timeline

TBolliger subscribed.

I did some testing on Test Wikipedia and found that Ruthven's issue is caused by case sensitivity, which you've documented in T215520.

On Test Wiki, McKinley redirects to Denali and both can be added to the Partial Block. However, Mckinley redirects to McKinley and only McKinley can be added to the partial block — either via hitting return key or by selecting from the suggestions.

In my opinion, the suggestions should show actual page names but the input field should accept redirects (regardless of case :) on 'return' keystroke.