https://bugzilla.wikimedia.org/show_bug.cgi?id=68518
Bug ID: 68518 Summary: (Special:AllMessages) Find a better query for searching translations in translatewiki.net Product: MediaWiki Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Special pages Assignee: wikibugs-l@lists.wikimedia.org Reporter: nullzero.f...@gmail.com Web browser: --- Mobile Platform: --- 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: https://th.wikipedia.org/w/index.php?title=Special:AllMessages&prefix=abusefilter-changeslist-examine&filter=all&lang=th&limit=500 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): 1) examine - MediaWiki:Abusefilter-changeslist-examine/en 2) Examine individual changes - MediaWiki:Abusefilter-examine/en 3) 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: https://th.wikipedia.org/w/index.php?title=Special:AllMessages&prefix=Anonnotice&filter=all&lang=th&limit=500 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): 1) 10. - MediaWiki:Oct/cs 2) 10 - MediaWiki:Oct/ko 3) 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 (for example, 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) 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! -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l