Revert "WIKI-844: Cannot open wiki page when wiki portlet locates in new site"

This reverts commit 94b894e4d99e14033d52be5d00a26fa49bcfe4d9.