Topic on Extension talk:InputBox

Multiple namespaces: not searching drafts

3
Mathglot (talkcontribs)

This is a report of a possible bug, or perhaps I am misunderstanding something.

I have an input box intended to search article space and draft space simultaneously for a title. Please see the Inputbox at en:Help:Your first article#Search for an existing article, and type 'French historiography' in the input box. (Note before you search, that en:Draft:French historiography exists.) Hit Search.

With both checkboxes checked, there are 9,000+ results.

I didn't see the Draft after 'nexting' through a few result pages, and assumed that maybe drafts are deprioritized, and maybe I would have to 'next' through hundreds of result pages to get to it. Instead, I unchecked the mainspace draft, leaving only Drafts checked, and clicked Search again.

This time, I got zero results, but note that the Search box field is empty! The namespace boxes are marked correctly; that is, only the checkbox next to Draft is checked.

Staying on the search results page, if you now type in 'French historiography' into the input box and hit Search, it finds the Draft as the #1 result.

Somewhere, there appears to be a disconnect in the Inputbox and properly populating the search term field when searching the Draft namespace. Thanks, Mathglot (talk) 23:25, 15 September 2024 (UTC)

P.S. please ping; I can't find a subscribe link.
Ciencia Al Poder (talkcontribs)

I can't reproduce the "but note that the Search box field is empty". When I uncheck Main but leave Draft checked, the search box of the results page is populated and the first result has the matching article.

What skin are you using? Mobile or Desktop?

(about subscribe link, you should get subscribed automatically since you created the post, and it's the star icon next to the title of the thread)

Mathglot (talkcontribs)

Desktop, but now I can't reproduce it either. Can close this; if it turns up again, I'll reopen. `Mathglot (talk) 04:47, 17 September 2024 (UTC)