Note:
I'm not sure if this bug should belong to translatewiki or MediaWiki. If you think that it should be moved, just do it!
Description:
[[gerrit:94064]] added an external link to translatewiki.net to every message
in Special:AllMessages. While this change is a very good idea, the produced links are completely broken. Below are some examples.
Example 1
Message ID:
abusefilter-changeslist-examine
Link to translatewiki:
https://translatewiki.net/w/i.php?title=Special%3ASearchTranslations&group=mediawiki&grouppath=mediawiki&query=language%3Ath^25+messageid%3A%22MediaWiki%3AAbusefilter-changeslist-examine%22^10+%22examine%22
Generated query:
language:th^25 messageid:"MediaWiki:Abusefilter-changeslist-examine"^10 "examine"
Results (failed):
- examine - MediaWiki:Abusefilter-changeslist-examine/en
- Examine individual changes - MediaWiki:Abusefilter-examine/en
- Examine past edits - MediaWiki:Abusefilter-topnav-examine/en
...
There is no MediaWiki:abusefilter-changeslist-examine/th in the result at all.
Example 2
Message ID:
MediaWiki:Anonnotice
Link to translatewiki:
https://translatewiki.net/w/i.php?title=Special%3ASearchTranslations&group=mediawiki&grouppath=mediawiki&query=language%3Ath^25+messageid%3A%22MediaWiki%3AAnonnotice%22^10+%22-%22
Generated query:
language:th^25 messageid:"MediaWiki:Anonnotice"^10 "-"
Results (failed):
- 10. - MediaWiki:Oct/cs
- 10 - MediaWiki:Oct/ko
- Button label, 25 characters maximum - MediaWiki:Donate interface-monthly-donation/qqq
There is no MediaWiki:Anonnotice/th in the result at all.
My observation:
The solr search does not yield consistent results at all. Last month (June 25, 2014), I encountered this bug and attempted to solve it ([[gerrit:141728]]). Although my patch was not okay, I finally found the cause of the problem. That is, searching with query string
yielded wrong results, while searching via search box
(for example, language:th^25 messageid:"MediaWiki:Abusefilter-changeslist-examine"^10 "examine")
yielded correct results.
Even worse, now (July 25, 2014), both ways yield wrong results!
Version: master
Severity: normal