Trigger 'RestInPeace' hook in api.php and wikia.php as well

Improve #2728

@michalroszka / @prein / @Wikia/platform-team