To reproduce:
- Make sure that you have Compact Language Links enabled in the French Wikipedia.
- Go to https://fr.wikipedia.org/wiki/Lahore (The article "Lahore" in the French Wikipedia)
- Click "90 de plus" (90 more [languages])
- Type "p" (one letter) in the search box.
- Several languages whose name begins with "P" appear: Portuguese, Polish, etc. Scroll down. Western Punjabi (پنجابی) and Eastern Punjabi (ਪੰਜਾਬੀ) both appear under "Asie" (Asia), as expected.
- Go back to the search box and add "u", so that the search string will be "pu".
- Several languages still appear in the results, but no variety of Punjabi appears there.
I tried playing with the languagesearch API and got even stranger results. Searching with the strings "p", "pu" and "pun" finds "pa", but not "pnb".