Splitting this out from T293950, where @Marostegui writes:
This has caused a huge increase on queries, this is an example of an enwiki replica:
This really needs to be investigated and/or reverted, enwiki is having 4x times the amount of queries it used to have.