BAC-724: added debug log with debug backtrace to find where user variable is not instance of User object.
WikiaMobile: fixing releated pages