This is a problem because a plain index.php causes the next search performed to revert to the default search namespace, and all subsequent searches will default unless alternate namespaces are selected in the checkboxes. Normally, the selected namespace would be remembered for consecutive searches, but this means the namespaces are only remembered for one search.
Here's four examples of the bug being triggered (some use the article namespace and some use all namespaces):
- [[https://en.wikipedia.org/w/index.php?search=hastemplate%3ANotsure+intitle%3A%22GA1%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1|hastemplate:Notsure intitle:"GA1"]]: remove ` intitle:"GA1"` from the search.
- [[https://en.wikipedia.org/w/index.php?search=hastemplate%3ANotsure&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns100=1&ns101=1&ns108=1&ns109=1&ns118=1&ns119=1&ns446=1&ns447=1&ns710=1&ns711=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1|hastemplate:Notsure]]: add ` intitle:"Articles for"` to the search.
- [[https://en.wikipedia.org/w/index.php?search=intitle%3A%22GA1%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns100=1&ns101=1&ns108=1&ns109=1&ns118=1&ns119=1&ns446=1&ns447=1&ns710=1&ns711=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1|intitle:"GA1"]]: add ` hastemplate:"monkey"` to the search.
- [[https://en.wikipedia.org/w/index.php?search=hastemplate%3ANotsure&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns100=1&ns101=1&ns108=1&ns109=1&ns118=1&ns119=1&ns446=1&ns447=1&ns710=1&ns711=1&ns828=1&ns829=1&ns2300=1&ns2301=1&ns2302=1&ns2303=1|hastemplate:Notsure]] add either ` intitle:"GA1"` or ` intitle:GA1`
The fourth example is particularly weird, because when I first noticed and started documenting this bug yesterday, those searches worked fine. I don't think the codebase on the English Wikipedia has changed in the last day, so it's possible there are different contexts that affect when the bug triggers, though I can't imagine what those could be.
More specifically, the difference I've noticed between today and yesterday is the following sequence now sets the URL to a plain index.php, when it didn't previously:
# `hastemplate:Notsure`
# [switch namespace to all]
# `hastemplate:Notsure intitle:"GA1"` or `hastemplate:Notsure intitle:GA1`
But this sequence doesn't:
# `hastemplate:Notsure`
# `hastemplate:Notsure intitle:"GA1"` or `hastemplate:Notsure intitle:GA1`
And here's another example that doesn't trigger the bug, but now does:
* [[https://en.wikipedia.org/w/index.php?search=hastemplate%3ANotsure+intitle%3AGA1&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1|hastemplate:Notsure intitle:GA1]]: remove ` intitle:GA1` from the search
----
I say this is a recent regression because I often refine my searches when I'm searching, and I didn't have this problem when [[https://en.wikipedia.org/w/index.php?title=User:E_to_the_Pi_times_i/Tooltips&diff=895728212|I did some searches on May 6]]. So it was introduced to the English Wikipedia somewhere between May 6 and May 17 (yesterday as of this writing). It seems likely this regressed in [[https://www.mediawiki.org/wiki/MediaWiki_1.34/wmf.5|this recent MediaWiki update]], though it probably was caused by some update to CirrusSearch (disclaimer: I don't know the codebase very well, so I may be mistaken).
This bug makes it extremely difficult to revise searches, and it was introduced recently, so I hope this can be prioritized appropriately.