Simplify translatewiki.net links from Special:AllMessages
authorFederico Leva <federicoleva@tiscali.it>
Mon, 17 Aug 2015 20:32:49 +0000 (22:32 +0200)
committerFederico Leva <federicoleva@tiscali.it>
Mon, 13 Jun 2016 07:55:28 +0000 (09:55 +0200)
commitd5f04670b68f3ef66c430164e16cb0fb8d8cf4f7
tree8cc78e2dd87e7bd32191e4d3aeb2ff9fbf45f831
parent55fb7037ec9d99f50ead668ca6874514bff6f0e6
Simplify translatewiki.net links from Special:AllMessages

* SearchTranslations was migrated to ElasticSearch, which does not
  support operators.
* Full text search with content and message key is the simplest
  possible search and hopefully will be always supported in the future.
  By avoiding the "MediaWiki:" prefix for the key, we can hope to
  match message keys which are prefixed in translatewiki.net.
* Per T70518, the message keys are now indeed indexed, so we can
  hope to find something.
* Since T55656 was fixed, we can just search the available translation
  (or source text) and then let the tabs and facets help the user
  find the existing message in the correct language or the interface
  to translate it in the desired language.

This makes results significantly more relevant, see an example with an
abusefilter message.
Before, the correct message isn't in the first page in any language.
https://phabricator.wikimedia.org/F4160053
After, the top 5 results include the correct message and language.
https://phabricator.wikimedia.org/F4160054

Change-Id: I0ab9b7c80513818a0776681eca9353845f6541d0
includes/specials/pagers/AllMessagesTablePager.php