interwiki: Remove inappropiate use of wfMemcKey()
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 11 Apr 2017 02:34:38 +0000 (19:34 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 11 Apr 2017 22:39:41 +0000 (22:39 +0000)
commit6375900e966122a6e8e6c0024934a65e76110097
tree452da383f9b594805d82dbcd0fa2ef9abd673d00
parented1afdee3578bf757dc315a7cfd60525dab9dbd4
interwiki: Remove inappropiate use of wfMemcKey()

This is used for lookup in a CDB file or PHP static array.
In neither case is the key created by wfMemcKey() or any other
implementation of BagOStuff::makeKey().

This is already broken if:
* An interwiki prefix were to contain characters not supported by
  Memcached.
* An interwiki prefix and wikiid together are too long for Memcached.
* If the site has wgCachePrefix configured, which overrides the
  wfWikiID() namespace makeKey() normally uses.

dumpInterwiki.php does not use wfMemcKey() either (and should not).

This was simply here as leftover from many rewrites ago, its
only purpose is to create wikiid + prefix joined by colon.

Ref T148958.

Change-Id: I45682133ed593fbb0d66af5a67751f77f15a4a14
includes/interwiki/ClassicInterwikiLookup.php