== Steps to reproduce: ==
# * Open [[https://de.wikipedia.org/w/index.php?search=incategory%3A%22Vorlage%3AFremdsprachenunterst%C3%BCtzung%22+insource%3A%2Finvoke%3AVorlage%3Alang\|full%2F&title=Spezial:Suche&profile=advanced&fulltext=1&profile=advanced | Special:Search@GermanWikipedia]] in //advanced// mode.
# Try to reach next 20, or show 250 hits.* Enter the following search term: ##incategory:Vorlage:Fremdsprachenunterstützung insource:/invoke:Vorlage:lang\|full/##
# Consecutive page has no matches any longer* Make sure no particular namespace is specified.
Reason:* Query.
* There is an escaped pipe ##\|## in search expression. (escaping required)* 20 of 223 results should be shown.
* In the footer line, all generated link* Note that by nature of //incategory// all results are URL encoded by ##%5C%7C##from template namespace.
* This does not work any longer* In //advanced //mode all namespaces are searched.
* Either not encoding* Now try to get next 20 from result set, or decodor extend the number of hits to 50 100 250 500.
* Clicking properlyone of such links leads to no results any longer.
* Affected:
Show (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)
== Reason ==
Neither the ##&profile=advanced## nor any namespace information is provided by the offered URL for consecutive pages.
* Therefore the follow-up is searching ns=0 only.
* All results are expected in ns=10.
== Remedy ==
The offered links next/previous/more must preserve relevant settings from current page URL, e.g. ##&profile=advanced## or any ##&ns=## which might influence the result set.
== Task has been rewritten ==
On first attempt an escaping-encoding-decoding problem has been assumed.
* It turned out that this was not the cause.
* It just happened that suspicious characters occurred in search expression when behaviour was encountered the first time.
Please ignore discussion before 16 December.